Page 1 of 2

MediaWiki unaccessable

Posted: Wed Apr 10, 2013 9:10 am
by guerilla
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 ==========

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 9:38 am
by bigfoot65
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.

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 10:21 am
by guerilla
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 ==========

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 12:34 pm
by bigfoot65
Can you please try again? I made one change that I think should fix it.

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 1:19 pm
by guerilla
still no joy im afraid.

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 1:52 pm
by bigfoot65
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.

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 2:09 pm
by guerilla
still not working, thanks for the help so far.

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 2:10 pm
by bigfoot65
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.

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 2:25 pm
by guerilla
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?

Re: MediaWiki unaccessable

Posted: Wed Apr 10, 2013 2:29 pm
by bigfoot65
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/*