Last modified: 2014-09-13 23:30:09 UTC
When running vagrant provision: Error: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 returned 1 instead of one of [0] When running manually in vagrant ssh: $ php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 could not allocate 216006655 bytes for translation cache It doesn't happen 100% of the times.
vagrant reload used to help, but not anymore. Part of the log with puppet_debug: true in .setting.yaml: Info: /Stage[main]/Mediawiki/Exec[check settings]: Scheduling refresh of Exec[mediawiki setup] Debug: /Stage[main]/Mediawiki/Exec[check settings]: The container Class[Mediawiki] will propagate my refresh event Debug: Exec[mediawiki setup](provider=posix): Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 ' Debug: Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 ' Notice: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: could not allocate 216006655 bytes for translation cache Error: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 returned 1 instead of one of [0] Error: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: change from notrun to 0 failed: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 returned 1 instead of one of [0] Debug: Exec[mediawiki setup](provider=posix): Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 ' Debug: Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 ' Notice: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: could not allocate 216006655 bytes for translation cache Error: /Stage[main]/Mediawiki/Exec[mediawiki setup]: Failed to call refresh: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 returned 1 instead of one of [0] Error: /Stage[main]/Mediawiki/Exec[mediawiki setup]: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 returned 1 instead of one of [0] Notice: /Stage[main]/Mediawiki/Exec[require extra settings]: Dependency Exec[mediawiki setup] has failures: true Warning: /Stage[main]/Mediawiki/Exec[require extra settings]: Skipping because of failed dependencies Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki user Selenium_user]: Dependency Exec[mediawiki setup] has failures: true Warning: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki user Selenium_user]: Skipping because of failed dependencies
I tried enabling zend role, but it still tries to run install.php using HHVM.
Increasing memory for VM to 1536 seems to help although that seems like a lot, especially on a 4GB RAM laptop...
Change 145110 had a related patch set uploaded by Ori.livneh: Run maintenance/install.php with PHP5 https://gerrit.wikimedia.org/r/145110
Change 145110 merged by jenkins-bot: Run maintenance/install.php with PHP5 https://gerrit.wikimedia.org/r/145110