Error upgrading to SVN 2975



  • I just upgraded to 2975 and reboot the server.
    But when i click on the button HOST or TASK i got a blank page…
    How can i revert to an earlier version of SVN ?



  • I don t know… I finally reinstall fog from scratch cause i needed to install my clients asap and i gave up svn for the moment.
    I red somewhere that it not advice to use svn for prod environment… Maybe i ll try it again but later…


  • Developer

    I wonder if this is still an issue?? My colleague told me about some kind of issue with missing hosts (empty hosts page, although they’re all in the database) when he tried to upgrade to 300X today. I didn’t have the time to look into this, So I am wondering if this is still an issue in current SVN…



  • I’ve had the same problems on the 2975 update…

    After going to 2978, today, I still get a blank host page, but get some PHP parse errors and fewer of the mysql errors.
    I’m thinking there may be a typo in one of the php files.

    [Thu Feb 05 09:57:10 2015] [error] [client 10.0.0.254] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:57:10 2015] [error] [client 10.0.0.254] PHP Warning: MySQL::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 90, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:57:10 2015] [error] [client 10.0.0.254] PHP Fatal error: Class ‘Config’ not found in /var/www/fog/commons/init.php on line 232, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:58:03 2015] [error] [client 10.0.0.254] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:58:08 2015] [error] [client 10.0.0.254] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:58:08 2015] [error] [client 10.0.0.254] File does not exist: /var/www/favicon.ico
    [Thu Feb 05 09:58:10 2015] [error] [client 10.0.0.254] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:58:10 2015] [error] [client 10.0.0.254] File does not exist: /var/www/favicon.ico
    [Thu Feb 05 09:58:31 2015] [error] [client 10.0.0.254] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 09:58:52 2015] [error] [client 10.0.0.254] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77, referer: [url]http://10.0.0.9/fog/management/index.php?node=tasks[/url]
    [Thu Feb 05 09:59:46 2015] [error] [client 10.0.0.254] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77, referer: [url]http://10.0.0.9/fog/management/index.php[/url]
    [Thu Feb 05 10:17:07 2015] [error] [client 10.0.2.82] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/Host.class.php on line 77



  • agement/index.php?node=about&sub=log
    [Wed Feb 04 15:34:42 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /var/www/fog/status/logtoview.php on line 4, referer: [url]http://172.23.204.210/fog/management/index.php?node=about&sub=log[/url]
    [Wed Feb 04 15:34:42 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /var/www/fog/status/logtoview.php on line 4, referer: [url]http://172.23.204.210/fog/management/index.php?node=about&sub=log[/url]
    [Wed Feb 04 15:34:42 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /var/www/fog/status/logtoview.php on line 4, referer: [url]http://172.23.204.210/fog/management/index.php?node=about&sub=log[/url]



  • i upgrade to 2976 but still the same issue:

    apache error log
    [Wed Feb 04 15:45:22 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 234 bytes) in /var/www/fog/status/logtoview.php on line 4, referer: [url]http://172.23.204.210/fog/management/index.php?node=about&sub=log[/url]
    [Wed Feb 04 15:45:22 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 234 bytes) in /var/www/fog/status/logtoview.php on line 4, referer: [url]http://172.23.204.210/fog/management/index.php?node=about&sub=log[/url]
    [Wed Feb 04 15:45:22 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /var/www/fog/status/logtoview.php on line 4, referer: [url]http://172.23.204.210/fog/management/index.php?node=about&sub=log[/url]
    [Wed Feb 04 15:45:24 2015] [error] [client 172.23.5.203] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /var/www/fog/status/logtoview.php on line 4, referer:



  • Strange, i dont see error when i click on "HOST"
    but on TASK here you have…

    APACHE ERROR LOG

    Tue Feb 03 15:48:55 2015] [error] [client 172.23.5.203] PHP Warning: MySQL::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 90, referer: [url]http://172.23.204.210/fog/management/index.php?node=tasks[/url]
    [Tue Feb 03 15:48:55 2015] [error] [client 172.23.5.203] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89, referer: [url]http://172.23.204.210/fog/management/index.php?node=tasks[/url]
    [Tue Feb 03 15:48:55 2015] [error] [client 172.23.5.203] PHP Warning: MySQL::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 90, referer: [url]http://172.23.204.210/fog/management/index.php?node=tasks[/url]
    [Tue Feb 03 15:48:55 2015] [error] [client 172.23.5.203] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89, referer: [url]http://172.23.204.210/fog/management/index.php?node=tasks[/url]
    [Tue Feb 03 15:48:55 2015] [error] [client 172.23.5.203] PHP Warning: MySQL::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 90, referer: [url]http://172.23.204.210/fog/management/index.php?node=tasks[/url]

    APACHE ACCESS LOG
    172.23.50.81 - - [04/Feb/2015:14:30:31 +0100] “POST /fog/management/index.php?node=home HTTP/1.1” 200 356 “[url]http://172.23.204.210/fog/management/index.php[/url]” "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
    172.23.204.210 - - [04/Feb/2015:14:30:32 +0100] “GET /fog/status/bandwidth.php?dev=eth0 HTTP/1.0” 200 272 “-” "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.6.12) Gecko/20110319 Firefox/4.0.1 ( .NET CLR 3.5.30729; .NET4.0E)"
    172.23.50.81 - - [04/Feb/2015:14:30:32 +0100] “POST /fog/management/index.php?node=home HTTP/1.1” 200 379 “[url]http://172.23.204.210/fog/management/index.php[/url]” "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
    172.23.50.81 - - [04/Feb/2015:14:30:32 +0100] “POST /fog/management/index.php?node=home HTTP/1.1” 200 356 “[url]http://172.23.204.210/fog/management/index.php[/url]” "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
    172.23.204.210 - - [04/Feb/2015:14:30:33 +0100] “GET /fog/status/bandwidth.php?dev=eth0 HTTP/1.0” 200 272 “-” "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.6.12) Gecko/20110319 Firefox/4.0.1 ( .NET CLR 3.5.30729; .NET4.0E)"
    172.23.50.81 - - [04/Feb/2015:14:30:33 +0100] “POST /fog/management/index.php?node=home HTTP/1.1” 200 379 “[url]http://172.23.204.210/fog/management/index.php[/url]” "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
    172.23.50.81 - - [04/Feb/2015:14:30:33 +0100] “POST /fog/management/index.php?node=home HTTP/1.1” 200 356 “[url]http://172.23.204.210/fog/management/index.php[/url]” "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
    172.23.204.210 - - [04/Feb/2015:14:30:34 +0100] “GET /fog/status/bandwidth.php?dev=eth0 HTTP/1.0” 200 272 “-” “Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.6.12) Gecko/20110319 Firefox/4.0.1 ( .NET CLR 3.5.30729; .NET4.0E)”


  • Senior Developer

    What’s in the error logs?


 

402
Online

41.5k
Users

12.0k
Topics

113.5k
Posts