spacer.png, 0 kB
  May 18, 2013, 11:10:22

 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Error after upgrading to 1.2  (Read 722 times)
coldfire

Posts: 9


View Profile
« on: January 04, 2012, 22:06:14 »

After recently upgrading URD from 1.1 to urd_1.2.0-2_all.deb and performing the update_db.php I'm now faced with the error "Interesting... property 'rendered_template' does not exist."
Is there anyway to recover from this short of reinstalling URD from scratch and losing my database?
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #1 on: January 05, 2012, 01:23:22 »

Have you tried cleaning out the Smatry template cache directory /usr/share/urd/html/smarty/c_templates/default ?
Logged
coldfire

Posts: 9


View Profile
« Reply #2 on: January 05, 2012, 18:17:54 »

Thanks!
That seems to have taken care of the issue.
Logged
coldfire

Posts: 9


View Profile
« Reply #3 on: January 06, 2012, 01:21:31 »

Well, I spoke too soon.
The fix you suggested did fix the issue with the templates but now the daemon wont start.
How do I proceed to diagnose?
The log is set to notify and not debug so I can't see all the details.
Thanks!
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #4 on: January 06, 2012, 01:25:33 »

You should be able to set the loglevel if URDD is not running. Otherwise, just run it from the console.

cd /usr/share/urd/
./urdd.sh
and see what it prints
Logged
coldfire

Posts: 9


View Profile
« Reply #5 on: January 06, 2012, 01:30:01 »

Looks like a permissions error:
Jan 05 15:27:47 cyberlauncher urdd: NOTICE Starting urdd
PHP Warning:  file_put_contents(/usr/share/urd/urdd.pid): failed to open stream: Permission denied in /usr/share/urd/urdd/urdd_config.php on line 231

Warning: file_put_contents(/usr/share/urd/urdd.pid): failed to open stream: Permission denied in /usr/share/urd/urdd/urdd_config.php on line 231
Jan 05 15:27:47 cyberlauncher urdd: CRITICAL An error occured during startup of URD daemon: Cannot write pid file /usr/share/urd/urdd.pid

Suggestions?
Thanks again.
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #6 on: January 06, 2012, 01:31:56 »

hmm kay that's because you now run in as your user instead of www-data (i presume)

try to run it as  sudo -u www-data ./urdd.sh
Logged
coldfire

Posts: 9


View Profile
« Reply #7 on: January 06, 2012, 01:39:17 »

UGGG!
Stupid me.
Yea. It works now.
Thanks for helping me through my own ignorance!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Amigri by Fakdordes
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB