[[PageOutline(2-9, Table of Contents)]] = quince.webarch.net = This is a debian Xen virtual server with 1GB ram, 32GB HDD, single partition, 4 processors and one IP address, 81.95.52.88. Munin starts for the server are available on [http://nsa.rat.burntout.org/munin/webarch.net/quince.webarch.net.html the webarchitects monitoring server] and on [https://kiwi.transitionnetwork.org/munin/webarch.net/quince.webarch.net.html the transition network development server]. The live site is being set up at http://live.quince.webarch.net/ and the notes about the old live server are here: LiveServer == php == See https://live.quince.webarch.net/info/ for the php info, the php.ini file is /etc/php5/apache2/php.ini PECL Uploadprogress was installed as suggested here: http://www.joergfelser.at/content/howto-install-pecl-uploadprogress-debian-50-lenny {{{ aptitude install php5-dev pecl install uploadprogress }}} And this was added to the php.ini file: {{{ extension=uploadprogress.so }}} == phpmyadmin == This is available here: https://live.quince.webarch.net/phpmyadmin/ == munin == In addition to the plugins available by default these were installed: * [http://exchange.munin-monitoring.org/plugins/multimemory/details multimemory] * [http://exchange.munin-monitoring.org/plugins/apache_activity/details apache_activity] == TODO == 1. Sort out drupal errors: {{{ warning: array_merge() [function.array-merge]: Argument #2 is not an array in /web/transitionnetwork.org/www/includes/theme.inc on line 930. }}} {{{ 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. }}} 2. Optimise, what php accelerator should we use? Tweak MySQL defaults. 3. Cron 4. Consider switching to http://www.dotdeb.org/ packages for php and mysql -- this should solve the GD problem... == Setup Notes == Live site, directory and svn checkup: {{{ mkdir -p /web/transitionnetwork.org/ cd /web/transitionnetwork.org/ svn co https://svn.webarch.net/transition/code/trunk mv trunk www cd /web/transitionnetwork.org/www/sites mkdir cache chown www-data:www-data cache mkdir workspaces.transitionnetwork.org rsync -av kiwi:/home/live/new-live-data/web/transitionnetwork.org/www/sites/workspaces.transitionnetwork.org/ workspaces.transitionnetwork.org/ chown -R www-data:www-data workspaces.transitionnetwork.org/files/ cd /web/transitionnetwork.org/www/sites/default rsync -av kiwi:/home/live/new-live-data/web/transitionnetwork.org/www/sites/default/files/ files/ chown -R www-data:www-data files }}} Databases were imported using a script, /usr/local/bin/mysql-update-from-gaia the two settings.php files were edited to suite. There was a problem with missing modules: {{{ 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 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 }}} This modules isn't in svn any more: https://svn.webarch.net/transition/code/trunk/sites/all/modules/cacherouter So it was copied over manually: {{{ mkdir /web/transitionnetwork.org/www/sites/all/modules/cacherouter/ rsync -av kiwi:/home/live/new-live-data/web/transitionnetwork.org/www/sites/all/modules/cacherouter/ /web/transitionnetwork.org/www/sites/all/modules/cacherouter/ }}} The following Drupal errors: {{{ # 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. # 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. # 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. # 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. # 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. # 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. }}} Were fixed by clearing the cache, using this page: https://live.quince.webarch.net/admin/settings/performance