MediaWiki unaccessable

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

MediaWiki unaccessable

Postby guerilla » Wed Apr 10, 2013 9:10 am

Just tried to install mediawiki, installation appeared to go well but I can not access the site at mediawiki.home.com, all my other apps are working. Im running the ubuntu version of amahi.

Code: Select all

======= app install begin @ Wed Apr 10 17:10:19 +0100 2013 ========== Installing app id caya6x2sp8 under /var/hda/platform/html ENV=production NOTE: file /tmp/amahi-download-cache/311e53406e4434cb2b94a48aeb2c79fd878ede7f written in cache Your HDA services have been restarted. Your HDA services have been restarted. NOTE: file /tmp/amahi-download-cache/47cc53385f8a21fcd2d7de7f48531c3315235988 written in cache /usr/bin/amahi-download:74:in `download': Too many attempts failed to get http://wiki.amahi.org/images/c/c9/Logo.png! (RuntimeError) from /usr/bin/amahi-download:105:in `download_and_check_sha1' from /usr/bin/amahi-download:123:in `main' from /usr/bin/amahi-download:130 NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... mv: cannot stat `Logo.png': No such file or directory App: MediaWiki installed ======= app install end @ Wed Apr 10 17:15:45 +0100 2013 ==========

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

Re: MediaWiki unaccessable

Postby bigfoot65 » Wed Apr 10, 2013 9:38 am

I will have to check this out when I get home. It may be something simple. Have you tried uninstall and reinstall?

Ensure if you do reinstall, remove the back up database from /var/hda/dbs directory. Also remove or move this file to a different location:

Code: Select all

/var/hda/web-apps/mediawiki.tar.gz
This only applies if this was your first time installing and there is no data you want to save from the install.
ßîgƒσστ65
Applications Manager

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

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: MediaWiki unaccessable

Postby guerilla » Wed Apr 10, 2013 10:21 am

Uninstall and reinstall hasn't changed anything.

Code: Select all

======= app install begin @ Wed Apr 10 18:30:37 +0100 2013 ========== Installing app id caya6x2sp8 under /var/hda/platform/html ENV=production NOTE: file /tmp/amahi-download-cache/311e53406e4434cb2b94a48aeb2c79fd878ede7f picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. NOTE: file /tmp/amahi-download-cache/47cc53385f8a21fcd2d7de7f48531c3315235988 picked up from cache. /usr/bin/amahi-download:74:in `download': Too many attempts failed to get http://wiki.amahi.org/images/c/c9/Logo.png! (RuntimeError) from /usr/bin/amahi-download:105:in `download_and_check_sha1' from /usr/bin/amahi-download:123:in `main' from /usr/bin/amahi-download:130 NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... NOTICE: redirected 'http://wiki.amahi.org/images/c/c9/Logo.png' --> 'https://wiki.amahi.org/images/c/c9/Logo.png' ... mv: cannot stat `Logo.png': No such file or directory App: MediaWiki installed ======= app install end @ Wed Apr 10 18:31:18 +0100 2013 ==========

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

Re: MediaWiki unaccessable

Postby bigfoot65 » Wed Apr 10, 2013 12:34 pm

Can you please try again? I made one change that I think should fix it.
ßîgƒσστ65
Applications Manager

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

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: MediaWiki unaccessable

Postby guerilla » Wed Apr 10, 2013 1:19 pm

still no joy im afraid.

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

Re: MediaWiki unaccessable

Postby bigfoot65 » Wed Apr 10, 2013 1:52 pm

Sorry, had to make one more change. It was a problem with downloading the logo from the wiki. The script was looking for http and not https as the wiki now enforces.

So, tested it on Ubuntu 32-bit and it worked for me. Please try again. Sorry for the inconvenience.
ßîgƒσστ65
Applications Manager

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

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: MediaWiki unaccessable

Postby guerilla » Wed Apr 10, 2013 2:09 pm

still not working, thanks for the help so far.

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

Re: MediaWiki unaccessable

Postby bigfoot65 » Wed Apr 10, 2013 2:10 pm

There must be a problem on your end. Did you remove the back up file in /var/hda/web-apps and the db back up in /var/hda/dbs for MediaWiki?

Also ensure you clear your browser cache before reinstalling. Sometimes that causes issues.
ßîgƒσστ65
Applications Manager

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

guerilla
Posts: 65
Joined: Thu Jan 13, 2011 3:11 pm

Re: MediaWiki unaccessable

Postby guerilla » Wed Apr 10, 2013 2:25 pm

Yeah I removed 2 files from the dbs directory and one from the web-apps. Cleared my browser cache and its still not working. Can I provide any logs or anything to help debug?

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

Re: MediaWiki unaccessable

Postby bigfoot65 » Wed Apr 10, 2013 2:29 pm

The app install log is the only thing that will help. Since it is working on my test machine, makes me wonder if there is something up on your end.

Have you tried a reboot in between uninstall and reinstall? Is this the first time you have tried to install?

If the app install log does not indicate any problems, then it might be a DNS issue. I have seen where some apps work and others don't. Often a reboot fixes it, but not sure what else could be the problem.

EDIT: Thought of one more thing. Empty the amahi download cache as root user.

Code: Select all

rm -rf /tmp/amahi-download/*
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 11 guests