Documentation ComusThumbz
Connexion Admin

Upgrading Comus

Upgrading Comus is usually just a simple proceedure of clicking on the upgrade button.

Here are some possible things that can go wrong with upgrading Comus.

1. Bad file permissions.
2. WGET path Bad.
3. Server Admin upgrades PHP/imagemagick
4. Server Admin changes permissions.
5. Safemode=On
6. basedir restrictions.

If comus says it is downloading, and then after almost no pause, begins to run through it's tests and then you notice nothing seems to have changed.

Sounds like wget is not working, or not configured to work.
Normally when using wget there should be a slight delay as wget connects to our main server, and downloads the update files.

You can try using the FTP alternative...check the use FTP to do updates option. at the top area of the settings page. This option requires FTP to be enabled within PHP.


If the script was installed manually.. then the permissions are probably all messed up. look for the 1000 posts in here telling you how to chmod 777 the ct folder. Its possible that it is downloading, but only upgrading some of the files, or worse none of the files which can happen when a systems admin changes the user name, or more commonly when someone tries to move the script from one server to another using a gzip backup and restore, when they do this, it almost always changes the ownership of the file and comus loses access to half the files. The quick fix, is just chmod 777 the /ct folder and everything within it.

The script may have been installed manually using the autoinstaller but the host came along later and changed permissions. (A common occurance). In this case, the quick fix is to chmod 777 the /ct folder AND EVERY FILE WITHIN IT. There are quick ways to do this via SSH with the right permissions.

chmod -Rf 777 ct

usually does it on every machine there is.

Quite possibly the system path is bad. There's lots of posts about this in here.. Try erasing the setting for the system path, and while you are at it, do the imagemagick path too. If one doesnt work.. .usually they both dont work. submit, and then check the settings again, to see if comus scanned for the path and found anything. Comus will scan for the wget file, and suggest a path if it finds something. If the path is still blank, then wget is not installed.

If it returns a path, and it still doesnt work. And permissions look okay, then possibly it is an issue wise basedir restrictions, there are posts here about plesk and cpanel and how they sometimes enforce these restrictions. You can usually tell if these are enforced by looking at a phpinfo() page, or by putting the comus installer (installct.php) back on the machine, and seeing what errors and complaints it generates.

If base_dir is okay. Then it might be safemode. This is an option within PHP which restricts scripts from running programs which reside outside their folders (basically). Make sure safemode = OFF, this is a setting within php.ini.

Failing that.
Pay someone to install it for you, currently it's $50 for an install, per domain, if we do it. We will still need the help of your sysadmin if the server does not meet requirements, but we will be able to inform him of exactly what requirements are needed.



Next we look at how to import starter galleries