User Tools

Site Tools


Writing /home/user/smartcj.com/wiki/data/cache/d/dfab26c1af85eb0ac295bb54c6fed4d8.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/user/smartcj.com/wiki/data/cache/d/dfab26c1af85eb0ac295bb54c6fed4d8.metadata failed
en:updates
Translations of this page:



Writing /home/user/smartcj.com/wiki/data/cache/d/dfab26c1af85eb0ac295bb54c6fed4d8.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/user/smartcj.com/wiki/data/cache/d/dfab26c1af85eb0ac295bb54c6fed4d8.xhtml failed

Update

Updates help us and you to keep your copy up to date. Updates consists of some changes to DB and files reflecting new features in script.

How to do update

To apply an update to your script just click Maintenance - Update script

  • or run following commands in SSH
cd /path_to_scj/admin
env HTTP_HOST=yourdomain.com php update.php 

Multidomain Update

You can create a file with all your domains

cd /path_to_domain/scj/admin; env HTTP_HOST=yourdomain.com php update.php 
cd /path_to_domain2/scj/admin; env HTTP_HOST=yourdomain2.com php update.php 

and so on and run it in SSH

sh update.sh

This way you can update all domains at once.

Note: update script doesn't overwrite index.php or any other files at the root of your domain. So you have to copy index.php (if you use it). If you don't want to do it each time you have 2 options:

  1. add to update.sh something like “cp ../cgi/index.php ../../index.php ”
  2. or create a symlink to original scj/cgi/index.php

Update rollback

There's no built-in update rollback. The only way is to create a backup before update.

en/updates.txt · Last modified: by admin