The command could not be executed succesfully (returned: a:4:{s:4:"site";a:21:{s:4:"root";s:23:"/var/hostmaster/webroot";s:7:"backend";b:1;s:7:"task_id";s:3:"438";s:9:"client_id";s:1:"1";s:12:"client_email";s:19:"webmaster@localhost";s:5:"db_id";s:1:"2";s:7:"profile";s:11:"drupal_wiki";s:8:"platform";s:1:"6";s:12:"publish_path";s:23:"/var/hostmaster/webroot";s:7:"site_id";s:3:"437";s:8:"language";s:2:"en";s:8:"site_url";s:21:"wiki.test.koumbit.net";s:9:"task_type";s:7:"install";s:7:"site_ip";s:9:"127.0.0.1";s:9:"site_port";i:80;s:7:"db_type";s:5:"mysql";s:7:"db_host";s:9:"localhost";s:9:"db_passwd";s:10:"HHvweCA3QD";s:7:"db_name";s:8:"site_437";s:7:"db_user";s:8:"site_437";s:9:"installed";b:1;}s:12:"error_status";i:1;s:3:"log";a:37:{i:0;a:3:{s:4:"type";s:6:"Notice";s:7:"message";s:41:"Generate virtual host configuration file.";s:9:"timestamp";i:1227822309;}i:1;a:3:{s:4:"type";s:7:"message";s:7:"message";s:48:"Created sites/wiki.test.koumbit.net";s:9:"timestamp";i:1227822309;}i:2;a:3:{s:4:"type";s:7:"message";s:7:"message";s:61:"Changed ownership of sites/wiki.test.koumbit.net";s:9:"timestamp";i:1227822309;}i:3;a:3:{s:4:"type";s:7:"message";s:7:"message";s:67:"Changed group ownership of sites/wiki.test.koumbit.net";s:9:"timestamp";i:1227822309;}i:4;a:3:{s:4:"type";s:7:"message";s:7:"message";s:70:"Changed permissions of sites/wiki.test.koumbit.net to 750";s:9:"timestamp";i:1227822309;}i:5;a:3:{s:4:"type";s:7:"message";s:7:"message";s:54:"Created sites/wiki.test.koumbit.net/files";s:9:"timestamp";i:1227822309;}i:6;a:3:{s:4:"type";s:7:"message";s:7:"message";s:67:"Changed ownership of sites/wiki.test.koumbit.net/files";s:9:"timestamp";i:1227822309;}i:7;a:3:{s:4:"type";s:7:"message";s:7:"message";s:73:"Changed group ownership of sites/wiki.test.koumbit.net/files";s:9:"timestamp";i:1227822309;}i:8;a:3:{s:4:"type";s:7:"message";s:7:"message";s:77:"Changed permissions of sites/wiki.test.koumbit.net/files to 2770";s:9:"timestamp";i:1227822309;}i:9;a:3:{s:4:"type";s:7:"message";s:7:"message";s:58:"Created sites/wiki.test.koumbit.net/files/tmp";s:9:"timestamp";i:1227822309;}i:10;a:3:{s:4:"type";s:7:"message";s:7:"message";s:71:"Changed ownership of sites/wiki.test.koumbit.net/files/tmp";s:9:"timestamp";i:1227822309;}i:11;a:3:{s:4:"type";s:7:"message";s:7:"message";s:77:"Changed group ownership of sites/wiki.test.koumbit.net/files/tmp";s:9:"timestamp";i:1227822309;}i:12;a:3:{s:4:"type";s:7:"message";s:7:"message";s:81:"Changed permissions of sites/wiki.test.koumbit.net/files/tmp to 2770";s:9:"timestamp";i:1227822309;}i:13;a:3:{s:4:"type";s:7:"message";s:7:"message";s:61:"Created sites/wiki.test.koumbit.net/files/images";s:9:"timestamp";i:1227822309;}i:14;a:3:{s:4:"type";s:7:"message";s:7:"message";s:74:"Changed ownership of sites/wiki.test.koumbit.net/files/images";s:9:"timestamp";i:1227822309;}i:15;a:3:{s:4:"type";s:7:"message";s:7:"message";s:80:"Changed group ownership of sites/wiki.test.koumbit.net/files/images";s:9:"timestamp";i:1227822309;}i:16;a:3:{s:4:"type";s:7:"message";s:7:"message";s:84:"Changed permissions of sites/wiki.test.koumbit.net/files/images to 2770";s:9:"timestamp";i:1227822309;}i:17;a:3:{s:4:"type";s:7:"message";s:7:"message";s:63:"Created sites/wiki.test.koumbit.net/files/pictures";s:9:"timestamp";i:1227822309;}i:18;a:3:{s:4:"type";s:7:"message";s:7:"message";s:76:"Changed ownership of sites/wiki.test.koumbit.net/files/pictures";s:9:"timestamp";i:1227822309;}i:19;a:3:{s:4:"type";s:7:"message";s:7:"message";s:82:"Changed group ownership of sites/wiki.test.koumbit.net/files/pictures";s:9:"timestamp";i:1227822309;}i:20;a:3:{s:4:"type";s:7:"message";s:7:"message";s:86:"Changed permissions of sites/wiki.test.koumbit.net/files/pictures to 2770";s:9:"timestamp";i:1227822309;}i:21;a:3:{s:4:"type";s:7:"message";s:7:"message";s:55:"Created sites/wiki.test.koumbit.net/themes";s:9:"timestamp";i:1227822309;}i:22;a:3:{s:4:"type";s:7:"message";s:7:"message";s:68:"Changed ownership of sites/wiki.test.koumbit.net/themes";s:9:"timestamp";i:1227822309;}i:23;a:3:{s:4:"type";s:7:"message";s:7:"message";s:74:"Changed group ownership of sites/wiki.test.koumbit.net/themes";s:9:"timestamp";i:1227822309;}i:24;a:3:{s:4:"type";s:7:"message";s:7:"message";s:78:"Changed permissions of sites/wiki.test.koumbit.net/themes to 2750";s:9:"timestamp";i:1227822309;}i:25;a:3:{s:4:"type";s:7:"message";s:7:"message";s:56:"Created sites/wiki.test.koumbit.net/modules";s:9:"timestamp";i:1227822309;}i:26;a:3:{s:4:"type";s:7:"message";s:7:"message";s:69:"Changed ownership of sites/wiki.test.koumbit.net/modules";s:9:"timestamp";i:1227822309;}i:27;a:3:{s:4:"type";s:7:"message";s:7:"message";s:75:"Changed group ownership of sites/wiki.test.koumbit.net/modules";s:9:"timestamp";i:1227822309;}i:28;a:3:{s:4:"type";s:7:"message";s:7:"message";s:79:"Changed permissions of sites/wiki.test.koumbit.net/modules to 2750";s:9:"timestamp";i:1227822309;}i:29;a:3:{s:4:"type";s:6:"notice";s:7:"message";s:26:"Generate settings.php file";s:9:"timestamp";i:1227822309;}i:30;a:3:{s:4:"type";s:7:"message";s:7:"message";s:42:"Changed permissions of settings.php to 550";s:9:"timestamp";i:1227822309;}i:31;a:3:{s:4:"type";s:7:"message";s:7:"message";s:50:"Change group ownership of settings.php to www-data";s:9:"timestamp";i:1227822309;}i:32;a:3:{s:4:"type";s:7:"install";s:7:"message";s:24:"Installing Drupal schema";s:9:"timestamp";i:1227822309;}i:33;a:3:{s:4:"type";s:6:"notice";s:7:"message";s:50:"Could not send welcome mail to webmaster@localhost";s:9:"timestamp";i:1227822318;}i:34;a:3:{s:4:"type";s:7:"message";s:7:"message";s:96:"Login url: http://wiki.test.koumbit.net/user/reset/1/1227822317/1f14a61e741c2bcb2dfcabb5d55848b1";s:9:"timestamp";i:1227822318;}i:35;a:3:{s:4:"type";s:5:"error";s:7:"message";s:334:"user warning: Duplicate entry '1' for key 1query: INSERT INTO users (name, pass, mail, status, uid, created, access) VALUES ('admin', 'b619f555696d41447a0e2e059103e971', 'webmaster@localhost', 1, 1, 1227822316, 1227822316) in /var/hostmaster/drupal-5.x/includes/database.mysql.inc on line 174.";s:9:"timestamp";i:1227822318;}i:36;a:3:{s:4:"type";s:6:"notice";s:7:"message";s:25:"Apache has been restarted";s:9:"timestamp";i:1227822320;}}s:8:"messages";a:0:{}}, code: 1)
Notice:
user warning: Duplicate entry '1' for key 1query: INSERT INTO users (name, pass, mail, status, uid, created, access) VALUES ('admin', 'b619f555696d41447a0e2e059103e971', 'webmaster@localhost', 1, 1, 1227822316, 1227822316) in /var/hostmaster/drupal-5.x/includes/database.mysql.inc on line 174.
Comments
Comment #1
adrian commentedI need more context.
What are the error messages ?
Comment #2
omar commentedSorry (again) for the lack of details... I am referring to http://hostmaster.koumbit.net/node/347
Comment #3
adrian commentedIt looks like it did install successfully, but for some reason the output couldn't be parsed.
the code is also out of date, could you guys please update to the latest of hosting and provision.
Comment #4
anarcat commentedI want to check upon this error before the release. I'll update hostmaster.k.n to current CVS and test further.
Comment #5
anarcat commentedThat still fails.
Notice:
... and how the unserialize failed.
Comment #6
anarcat commentedThis is an incompatibility with the profile:
http://drupal.org/node/339974
Maybe we should be more careful when creating the admin user and check if it already exists... or use ON DUPLICATE UPDATE. See http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html
Comment #7
anarcat commentedWith the patch in http://drupal.org/node/339974 the install profile installs properly.
Comment #8
anarcat commentedI have made it so provision first tries to load the admin user instead of just saving it.