ispCP - Board - Support
Error after upgrading from 1.0.2 to 1.0.5 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Error after upgrading from 1.0.2 to 1.0.5 (/thread-10577.html)



Error after upgrading from 1.0.2 to 1.0.5 - kotso - 04-29-2010 11:36 PM

Hello,

Today I tried to upgrade my server from 1.0.2 to 1.0.5 (final stable available for download)

Update vent smoothly without errors, regenerated config files and started all services but problem is with admin interface.

It does not loads and goes to error 500, when I try to run index.php from command line from /var/www/ispcp/gui everything is fine. so problem is on fcgi level.

ownerships on /var/www/ispcp/gui and /var/www/fcgi/master looks to be ok.

and user vu2000 presents in /etc/groups and /etc/passwd files (I came a cros similar error article).

OS: Centos 5.4 64bit
Old Version: 1.0.2
New Version: 1.0.5

and by the way all other user pages woks just fine, I experience problem only with admin interface.

Any ideas how to fix this case?


RE: Error after upgrading from 1.0.2 to 1.0.5 - Elber - 04-30-2010 03:52 AM

Try run /var/www/ispcp/engine/setup/set-gui-permissions.sh
Code:
# cd /var/www/ispcp/engine/setup/
# ./set-gui-permissions.sh



RE: Error after upgrading from 1.0.2 to 1.0.5 - kotso - 04-30-2010 05:00 PM

No, It did not help but I found some more interesting info.

Problem is not in fast cgi, because any file I create in /var/www/ispcp/gui/ works fine

but index.php fails, after commenting out include of ispcp-lib.php index.php starts working, so problem is somewhere inside admin interface.

Please advice how can I do future debugging...


RE: Error after upgrading from 1.0.2 to 1.0.5 - kotso - 04-30-2010 07:32 PM

Fixed.

set-gui-permissions.sh script does not fix permission on phptmp folder that caused admin interface not to work.

Also after upgrade default directory index was set to index.php only (no index.html and index.htm) that is easy to fix just by adding index.html and index.htm in apache configuration.


RE: Error after upgrading from 1.0.2 to 1.0.5 - pgentoo - 05-02-2010 04:41 AM

at least in Gentoo, this setting is not in a file that is modified by ispcp, and is expected to be set up by the system administrator.

In my case it is /etc/apache2/modules.d/00_default_settings.conf

If this is not a file modified by the ispcp installer, you'll need to manage the index settings yourself.