Changes between Version 52 and Version 53 of NewLiveServer


Ignore:
Timestamp:
11/10/10 15:12:22 (6 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewLiveServer

    v52 v53  
    198198== php == 
    199199 
    200 See https://live.quince.webarch.net/info/ for the php info, the php.ini file is /etc/php5/apache2/php.ini  
     200See https://quince.transitionnetwork.org/info/ for the php info, the php.ini file is /etc/php5/apache2/php.ini  
    201201 
    202202PECL Uploadprogress was installed as suggested here: http://www.joergfelser.at/content/howto-install-pecl-uploadprogress-debian-50-lenny  
     
    237237display_errors = On 
    238238default_charset = "utf-8" 
    239 == TODO == 
    240  
    241 1. Sort out drupal errors: 
    242  
    243 {{{ 
    244 warning: array_merge() [function.array-merge]: Argument #2 is not an array in /web/transitionnetwork.org/www/includes/theme.inc on line 930. 
    245 }}} 
    246  
    247 {{{ 
    248 warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'nodereference_autocomplete_access' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    249 }}} 
    250  
    251 2. Optimise, what php accelerator should we use? Tweak MySQL defaults. 
    252  
    253 3. Cron 
    254  
    255 4. Consider switching to http://www.dotdeb.org/ packages for php and mysql -- this should solve the GD problem... 
    256  
    257 mysql.default_socket = /var/run/mysqld/mysqld.sock 
    258 mysql.default_port = 3306 
    259 session.save_path = "N;/var/lib/php5" 
    260 }}} 
    261239 
    262240== phpmyadmin == 
    263241 
    264 This is available here: https://live.quince.webarch.net/phpmyadmin/ it's protected using htauthentication because there are a lot of attacks launched against phpmyadmin, ask chris@webarchitects.co.uk for the username / password if you need it. 
     242This is available here: https://quince.transitionnetwork.org/phpmyadmin/ it's protected using htauthentication because there are a lot of attacks launched against phpmyadmin, ask chris@webarchitects.co.uk for the username / password if you need it. 
    265243 
    266244== memcache == 
     
    296274 * [http://exchange.munin-monitoring.org/plugins/multimemory/details multimemory] 
    297275 * [http://exchange.munin-monitoring.org/plugins/apache_activity/details apache_activity] 
    298  
    299 == Setup Notes == 
    300  
    301 Live site, directory and svn checkup: 
    302  
    303 {{{ 
    304 mkdir -p /web/transitionnetwork.org/ 
    305 cd /web/transitionnetwork.org/ 
    306 svn co https://svn.webarch.net/transition/code/trunk 
    307 mv trunk www 
    308 cd /web/transitionnetwork.org/www/sites 
    309 mkdir cache 
    310 chown www-data:www-data cache 
    311 mkdir workspaces.transitionnetwork.org 
    312 rsync -av kiwi:/home/live/new-live-data/web/transitionnetwork.org/www/sites/workspaces.transitionnetwork.org/ workspaces.transitionnetwork.org/ 
    313 chown -R www-data:www-data workspaces.transitionnetwork.org/files/ 
    314 cd /web/transitionnetwork.org/www/sites/default 
    315 rsync -av kiwi:/home/live/new-live-data/web/transitionnetwork.org/www/sites/default/files/ files/ 
    316 chown -R www-data:www-data files 
    317 }}} 
    318  
    319 Databases were imported using a script, /usr/local/bin/mysql-update-from-gaia the two settings.php files were edited to suite. 
    320  
    321 There was a problem with missing modules: 
    322  
    323 {{{ 
    324 Warning: require_once(./sites/all/modules/cacherouter/cacherouter.inc) [function.require-once]: failed to open stream: No such file or directory in /web/transitionnetwork.org/www/includes/bootstrap.inc on line 1009 
    325  
    326 Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/cacherouter/cacherouter.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /web/transitionnetwork.org/www/includes/bootstrap.inc on line 1009 
    327 }}} 
    328  
    329 This modules isn't in svn any more: https://svn.webarch.net/transition/code/trunk/sites/all/modules/cacherouter 
    330  
    331 So it was copied over manually: 
    332  
    333 {{{ 
    334 mkdir /web/transitionnetwork.org/www/sites/all/modules/cacherouter/ 
    335 rsync -av kiwi:/home/live/new-live-data/web/transitionnetwork.org/www/sites/all/modules/cacherouter/ /web/transitionnetwork.org/www/sites/all/modules/cacherouter/ 
    336 }}} 
    337  
    338 The following Drupal errors: 
    339  
    340 {{{ 
    341 # warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ctools_export_ui_task_access' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    342 # warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ctools_access_multiperm' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    343 # warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ctools_export_ui_task_access' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    344 # warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ctools_export_ui_task_access' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    345 # warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'views_import_access' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    346 # warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'nodereference_autocomplete_access' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452. 
    347 }}} 
    348  
    349 Were fixed by clearing the cache, using this page: https://live.quince.webarch.net/admin/settings/performance 
    350