https://bugzilla.wikimedia.org/show_bug.cgi?id=71354

--- Comment #5 from dan <[email protected]> ---
additional investigation
------------------------
hopefully this helps narrow down the issue ...

1. start from scratch => $rm -rf vagrant
2. setup vagrant as mentioned here
https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Quick_start
3. `vagrant up`
4. `vagrant reload`

   no errors, all is well


5. removed the mediawiki::import_dump statements from the gwtoolset role
6. `vagrant enable-role gwtoolset`
7. `vagrant provision`
8. verified that scribunto and lua are present via Special:Version
   a. LuaSandbox 2.0-7
   b. Lua 5.1.5
   c. Scribunto – (ffe6757) 21:07, 25 September 2014

   no errors, all is well


9.  `vagrant ssh`
10. `cd /vagrant/mediawiki/maintenance`
11. `php importDump.php --wiki=wiki --debug=true
/vagrant/puppet/modules/role/files/gwtoolset/template/De.xml`
    Done!
    You might want to run rebuildrecentchanges.php to regenerate RecentChanges
12. http://localhost:8080/wiki/Template:De

    Lua error in Module:Fallback at line 73: attempt to index a nil value.
    Backtrace:
    Module:Fallback:73: in function "fallbackpage"
    Module:Fallback:99: in function "chunk"
    mw.lua:497: ?


13. `cd`
14. `mwscript importDump.php --wiki=wiki --debug=true
/vagrant/puppet/modules/role/files/gwtoolset/template/Fr.xml`
    Done!
    You might want to run rebuildrecentchanges.php to regenerate RecentChanges
15. http://localhost:8080/wiki/Template:De

    Lua error in Module:Fallback at line 73: attempt to index a nil value.
    Backtrace:
    Module:Fallback:73: in function "fallbackpage"
    Module:Fallback:99: in function "chunk"
    mw.lua:497: ?


16. `exit`
17. added back one mediawiki::import_dump statement, template_nl, to the
gwtoolset role
18. `PUPPET_DEBUG=1 vagrant provision`

    ==> default: Debug: Exec[import_dump_template_nl](provider=posix):
Executing check 'mwscript pageExists.php --wiki=wiki Testwiki:wiki/Template:Nl'
    ==> default: Debug: Executing 'mwscript pageExists.php --wiki=wiki
Testwiki:wiki/Template:Nl'
    ==> default: Debug:
/Stage[main]/Role::Gwtoolset/Mediawiki::Import_dump[template_nl]/Exec[import_dump_template_nl]/unless:
Testwiki:wiki/Template:Nl doesn't exist.
    ==> default: Debug: Exec[import_dump_template_nl](provider=posix):
Executing 'mwscript importDump.php --wiki=wiki
/vagrant/puppet/modules/role/files/gwtoolset/template/Nl.xml'
    ==> default: Debug: Executing 'mwscript importDump.php --wiki=wiki
/vagrant/puppet/modules/role/files/gwtoolset/template/Nl.xml'
    ==> default: Error: mwscript importDump.php --wiki=wiki
/vagrant/puppet/modules/role/files/gwtoolset/template/Nl.xml returned  instead
of one of [0]
    ==> default: Error:
/Stage[main]/Role::Gwtoolset/Mediawiki::Import_dump[template_nl]/Exec[import_dump_template_nl]/returns:
change from notrun to 0 failed: mwscript importDump.php --wiki=wiki
/vagrant/puppet/modules/role/files/gwtoolset/template/Nl.xml returned  instead
of one of [0]

19. http://localhost:8080/wiki/Template:Nl
    page does not exist

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to