MediaWiki doesn't install..

mattcaron
Posts: 3
Joined: Sun Nov 21, 2010 6:53 pm

MediaWiki doesn't install..

Postby mattcaron » Sun Nov 21, 2010 6:55 pm

New install. Installing MediaWiki. It just sits there with a spinning beach ball.

Checking the app log, I see:

Code: Select all

/var/hda/platform/html/script/../app/models/app.rb:548:in `download_and_check_sha1': http://noc.wikimedia.org/mediawiki-1.16.0.tar.gz, '41423afaab00188e3aa98c562588b48f84f398ba' vs. '9a60a5640f9ea44ebc0b1cab27dc2d3f426f7b3a' (App::SHA1VerificationFailed) from /var/hda/platform/html/script/../app/models/app.rb:445:in `install_webapp' from /var/hda/platform/html/script/../app/models/app.rb:202:in `install_bg' from /var/hda/platform/html/script/install-app:89:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:110:in `main' from /var/hda/platform/html/script/install-app:122 ======= app install begin @ Sun Nov 21 20:46:01 -0500 2010 ==========
It looks like the tarball changed and the sha didn't get updated or something?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: MediaWiki doesn't install..

Postby bigfoot65 » Sun Nov 21, 2010 8:16 pm

Yep, you are exactly right. For some reason, MediaWiki changed the release. I have updated the app and it should work now.

Please try again and let us know how it goes. Thanks for point it out.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

mattcaron
Posts: 3
Joined: Sun Nov 21, 2010 6:53 pm

Re: MediaWiki doesn't install..

Postby mattcaron » Fri Nov 26, 2010 9:30 pm

Yep, works now. Thanks.

hape
Posts: 3
Joined: Mon Nov 29, 2010 11:28 am

Re: MediaWiki doesn't install..

Postby hape » Mon Nov 29, 2010 11:30 am

The same here: Media Wiki install hangs showing "Preparing for install" forever.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: MediaWiki doesn't install..

Postby bigfoot65 » Mon Nov 29, 2010 2:34 pm

It should be working now. Make sure the app directory does not already exist. If you see /var/hda/web-apps/mediawiki, remove it. Also if there is a file in /var/hda/web-apps called mediawiki, remove it.

Then reinstall. Please let us know if it works.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

hape
Posts: 3
Joined: Mon Nov 29, 2010 11:28 am

Re: MediaWiki doesn't install..

Postby hape » Mon Nov 29, 2010 7:51 pm

Installation works now (thanks!), but when trying to open media wiki it shows a site saying: "MediaWiki internal error. Exception caught inside exception handler."...

I have Amahi Express 64 bit fresh installed.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: MediaWiki doesn't install..

Postby bigfoot65 » Mon Nov 29, 2010 8:20 pm

Recommend you uninstall it. Then remove the /var/hda/web-apps/mediawiki.tar.gz file. Once that is done, try reinstalling.

I have tested it and works fine for me. If you still have problems, then we need to examine the log files.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

hape
Posts: 3
Joined: Mon Nov 29, 2010 11:28 am

Re: MediaWiki doesn't install..

Postby hape » Mon Nov 29, 2010 10:40 pm

I reinstalled the whole amahi now, this time full fedora install 32-bit. Same problem: Mediawiki installs and when trying to open it the same "Internal Error"-Site appears...

Edit: What you mentioned I tried first, but no success.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: MediaWiki doesn't install..

Postby bigfoot65 » Tue Nov 30, 2010 9:44 am

Not sure what the problem is on your end. I have tested with a VM and my HDA, both worked fine.

Check the /var/log/amahi-app-installer.log for errors.

I presume you are using Amahi for DHCP and DNS server. Also that your router DHCP and DNS server are turned off. Is that correct?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bpbreedlove
Posts: 3
Joined: Tue Dec 28, 2010 8:08 am

Re: MediaWiki doesn't install..

Postby bpbreedlove » Tue Dec 28, 2010 8:24 am

I'm stuck at this same point with MediaWiki. I uninstalled/reinstalled MediaWiki, no joy. I then uninstalled, deleted /var/hda/web-apps/mediawiki.tar.gz, and reinstalled... same error. Here is the amahi-app-isntaller.log file starting from the point where I last uninstalled MediaWiki. I can see the errors in the log when I install, but from the outside, Amahi shows a successful installation.

I am using Amahi for DNS and DHCP. DHCP is disabled in my router.

This is my second attempt at Amahi/Fedora, so I am still quite new to both worlds. Any advice would be greatly appreciated.

Code: Select all

App: MediaWiki uninstalled ======= app uninstall end @ Tue Dec 28 09:55:49 -0500 2010 ========== ======= app install begin @ Tue Dec 28 09:56:16 -0500 2010 ========== Installing app id caya6x2sp8 under /var/hda/platform/html ENV=production NOTE: file /tmp/amahi-download-cache/41d6dc0530eb00fd96f48690b8d7041d2b7fd7f3 picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. /usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/net/http.rb:560:in `open' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout' from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start' from /usr/lib/ruby/1.8/net/http.rb:542:in `start' from /usr/lib/ruby/1.8/net/http.rb:440:in `start' from /usr/bin/amahi-download:50:in `download' from /usr/bin/amahi-download:91:in `download_and_check_sha1' from /usr/bin/amahi-download:111:in `main' from /usr/bin/amahi-download:116 mv: cannot stat `Logo.png': No such file or directory tar: mediawiki-1.16.0-sql.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors mv: cannot stat `LocalSettings.php': No such file or directory mv: cannot stat `AdminSettings.php': No such file or directory MediaWiki 1.16.0 Updater Going to run database updates for mediawiki Depending on the size of your database this may take a while! Abort with control-c in the next five seconds (skip this countdown with --quick) ... 5^H4^H3^H2^H1^H0 ...ipblocks table does not exist, skipping new field patch ...ipblocks table does not exist, skipping new field patch Creating interwiki table: ok Adding default interwiki definitions: ok MediaWiki internal error. Exception caught inside exception handler App: MediaWiki installed ======= app install end @ Tue Dec 28 09:56:31 -0500 2010 ========== ======= app uninstall begin @ Tue Dec 28 10:02:54 -0500 2010 ========== Uninstalling app id caya6x2sp8 under /var/hda/platform/html ENV=production Your HDA services have been restarted. App: MediaWiki uninstalled ======= app uninstall end @ Tue Dec 28 10:02:56 -0500 2010 ========== ======= app install begin @ Tue Dec 28 10:04:57 -0500 2010 ========== Installing app id caya6x2sp8 under /var/hda/platform/html ENV=production NOTE: file /tmp/amahi-download-cache/41d6dc0530eb00fd96f48690b8d7041d2b7fd7f3 picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. /usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/net/http.rb:560:in `open' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout' from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start' from /usr/lib/ruby/1.8/net/http.rb:542:in `start' from /usr/lib/ruby/1.8/net/http.rb:440:in `start' from /usr/bin/amahi-download:50:in `download' from /usr/bin/amahi-download:91:in `download_and_check_sha1' from /usr/bin/amahi-download:111:in `main' from /usr/bin/amahi-download:116 mv: cannot stat `Logo.png': No such file or directory tar: mediawiki-1.16.0-sql.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors /tmp/run_script.9409.0: line 153: mediawiki.sql: No such file or directory App: MediaWiki installed ======= app install end @ Tue Dec 28 10:05:02 -0500 2010 ==========

Who is online

Users browsing this forum: No registered users and 7 guests