
13th December 2010, 18:13
|
|
Senior Member
|
|
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 32 Times in 30 Posts
|
|
3.0.3 not updating site
I upgraded to 3.0.3 about 2 weeks ago. Today I had to change some php settings to stop a timeout error. I found when I put code into the options tab on the sites page or when I change the php type that the vhost config is not being updated. I'm waiting a couple minutes thinking that it should be updated on the every minute cron run but it's not.
The data I put in is being saved in the ISPConfig database but it is not being written to the vhost file for the site. Changes I made before the upgrade are written. No errors in any log files. Any ideas?
|

13th December 2010, 18:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
Any jobs listed in the jobqueue in the monitoe and any errors listed in the sytem log in the monitor?
|

13th December 2010, 18:22
|
|
Senior Member
|
|
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 32 Times in 30 Posts
|
|
Yes in the job queue. Several update web_domain jobs today and a couple mail filters from a week ago. All after the update, none before.
No errors in the System Log.
|

13th December 2010, 18:28
|
|
Senior Member
|
|
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 32 Times in 30 Posts
|
|
Maybe the ISPConfig sever cron jobs got messed up somehow? Where can I find their settings on a Debian system?
|

13th December 2010, 18:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
Enable loglevel debug under System > Server Config, then please run:
/usr/local/ispconfig/server/server.sh
as root user on the shell. Do you get any errors?
|

13th December 2010, 18:46
|
|
Senior Member
|
|
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 32 Times in 30 Posts
|
|
Some warnings, no errors. That cleared out the job queue. When I look in /var/spool/cron/crontabs/root it has the daily ISPConfig cron job but no other. Should the every minute server run be in there as well?
|

13th December 2010, 18:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
Yes, there should be a one minute cronjob. Please add the following line in the root crontab:
Code:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

13th December 2010, 18:51
|
|
Senior Member
|
|
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 32 Times in 30 Posts
|
|
Done. I wonder how that got deleted, I never edit that file.
It says at the top of the file...
# DO NOT EDIT THIS FILE - edit the master and reinstall.
Is something going to overwrite this?
|

13th December 2010, 19:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
The cronjobs are added by ispconfig on install. Maybe some kind of system update removed them.
The normal way to edit the crontab is by running:
crontab -e
as root user.
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

13th December 2010, 20:17
|
|
Senior Member
|
|
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 32 Times in 30 Posts
|
|
Thanks. Problem resolved.
Interestingly the file date and time on the root crontab file (before editing today) was the same as when I did the ISPConfig update to 3.0.3.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:59.
|
Recent comments
1 day 8 hours ago
1 day 11 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 6 hours ago
2 days 12 hours ago
2 days 21 hours ago
2 days 23 hours ago
3 days 7 hours ago
3 days 9 hours ago