May 18, 2013, 11:10:22
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
URD Forum
>
General Category
>
Technical Problems
>
Error after upgrading to 1.2
Pages: [
1
]
« previous
next »
Print
Author
Topic: Error after upgrading to 1.2 (Read 722 times)
coldfire
Posts: 9
Error after upgrading to 1.2
«
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
Re: Error after upgrading to 1.2
«
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
Re: Error after upgrading to 1.2
«
Reply #2 on:
January 05, 2012, 18:17:54 »
Thanks!
That seems to have taken care of the issue.
Logged
coldfire
Posts: 9
Re: Error after upgrading to 1.2
«
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
Re: Error after upgrading to 1.2
«
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
Re: Error after upgrading to 1.2
«
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
Re: Error after upgrading to 1.2
«
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
Re: Error after upgrading to 1.2
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Recruitment
=> Technical Problems
=> Features
Loading...