KeenWiki on a new server

This is where you can post your Commander Keen related stories, artwork, or other stuff that is related to Commander Keen but otherwise doesn't belong in another forum.
Post Reply
User avatar
Malvineous
Shikadi Webmaster
Posts: 375
Joined: Wed Oct 31, 2007 21:48
Location: Brisbane, Australia
Contact:

KeenWiki on a new server

Post by Malvineous »

Hi all,

Just a heads up after a two year hiatus I have finally finished moving the KeenWiki over to a new server. If you notice any problems please let me know. All the old links should continue to work and will just quietly forward you on to the new server, but from now on you should use links starting with https://keenwiki.shikadi.net/ rather than the old http://www.shikadi.net/keenwiki/

The change in domain may mean your browser forgets your password so hopefully everyone remembers theirs. I get the occasional bounce from someone who has forgotten their password and tried to reset it, but they aren't using that e-mail address any longer either, so probably a good opportunity to make sure the e-mail address in your KeenWiki user profile is current.

For anyone interested in the technical detail the server has been moved from Linode over to Amazon AWS, as it seems to perform a bit better there and is a bit easier to maintain. It's now hosted in a Docker container running on Amazon ECS so I'm hoping that will make it easier to do future MediaWiki upgrades.
User avatar
Quillax
Vortininja
Posts: 240
Joined: Sat Mar 14, 2015 14:41
Location: Quillax Ship
Contact:

Re: KeenWiki on a new server

Post by Quillax »

Whoa, it looks the voting system has finally been fixed! Woohoo! :D

I noticed that the view counts found in the bottom of each page have been taken away. Is that because of the server change? If so, is there is a way to bring them back? I always thought they were neat.
Quillax Ship - Where you can download all of my cool, keen mods and super-marvelous fangames!
User avatar
Nisaba
Vorticon Elite
Posts: 1264
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: KeenWiki on a new server

Post by Nisaba »

That's great news!
I think I can say on behalf of the community that we are all very grateful to have you as a host for the KeenWiki.
This website is one of, if no the most important source of information for the community, and it is formidable that this service has been running stably and reliably for so many years. Thanks so much for all your time and effort!
Foray in the Forest progress:
⏺⏺⏺⏺⏺ ⏺⏺⏺⏺⭘ | Programming
⏺⏺⏺⏺⏺ ⏺⏺⏺⏺⭘ | GFX
⏺⏺⏺⏺⏺ ⏺⏺⏺⭘⭘ | Levels
⏺⏺⏺⏺⏺ ⏺⏺⏺⏺⏺ | Creatures
⏺⏺⏺⏺⏺ ⏺⏺⭘⭘⭘ | Story
⏺⏺⏺⏺⏺ ⏺⏺⏺⏺⭘ | Music
⏺⏺⏺⏺⏺ ⏺⏺⏺⏺⭘ | SFX
⏺⏺⏺⏺⏺ ⏺⏺⏺⏺⭘ | Extras

Other projects:
- Play Commander Keen on a GameBoy
- The Lynx Nyx
User avatar
TheBigV
Grunt
Posts: 29
Joined: Mon Oct 21, 2019 13:43
Location: LXTerminal

Re: KeenWiki on a new server

Post by TheBigV »

proYorp mentioned to me that some mod download links on KeenWiki are broken. We first thought that it was the URLs that started with "www.shikadi.net/wiki/files/Mods/" instead of "files.shikadi.net/keenwiki/mods/" but after closer examination, I found that it's actually just downloads with the "/mods/" part of the URL being capitalized regardless of the prefix. It seems as if something on the server needs to be fixed so that it's not case-sensitive.

Also, since KeenWiki's move, it seems to be missing some formatting code, because it's taking the brackets in the patches literally instead of making it change the coloring.
User avatar
Malvineous
Shikadi Webmaster
Posts: 375
Joined: Wed Oct 31, 2007 21:48
Location: Brisbane, Australia
Contact:

Re: KeenWiki on a new server

Post by Malvineous »

Thanks for your kind words!

I hadn't touched the voting system but it would've been upgraded to the latest version so that's good to know it works now. I think the latest version of MediaWiki removes page counts because they aren't very accurate. Most sites run caching servers in front of the web servers so the value doesn't get incremented on each visit anyway. Having it there increases server load quite a bit so I imagine that's why they removed it.

It looks like the redirect on the download links stopped working when I used the Amazon CloudFront service to enable HTTPS. It seems this sends requests direct to the S3 bucket for files.shikadi.net (not via HTTP), so the HTTP redirects set on the bucket are ignored. There doesn't seem to be an easy way to solve this as most web servers can't be made case-insensitive, so I have done a bulk update on the mod pages to change the download URL to the working version. If you spot any more broken URLs that follow a pattern like this let me know and I will update them too.

Thanks for pointing out the formatting issue with the patches, I hadn't considered that. The old syntax highlighting code is no longer compatible with the new MediaWiki version so I had to replace it with a more widely used syntax highlighter, but evidently that doesn't support the brackets. I will have a think about how to handle this, but I'm not sure it will be an easy solution.
User avatar
proYorp
Vortininja
Posts: 195
Joined: Fri Mar 03, 2017 1:56
Location: Orbit

Re: KeenWiki on a new server

Post by proYorp »

The mod downloads seem to be working now! I had to clear my browser cache for the new URLs to show up.

One other thing I noticed: like a month or so ago when I happened to end up on a dead link it took me to a cool-looking random ASCII 404 error, but since discovering this widespread download issue, broken links just go to some kind of XML error.

For example: http://files.shikadi.net/keenwiki/mods/fakemodlink
"Friendly. Very friendly. Too friendly." Image
User avatar
Malvineous
Shikadi Webmaster
Posts: 375
Joined: Wed Oct 31, 2007 21:48
Location: Brisbane, Australia
Contact:

Re: KeenWiki on a new server

Post by Malvineous »

Thanks for confirming! I forgot about the custom error page, I've set that up again now too. The source code for it is on GitHub.
User avatar
Quillax
Vortininja
Posts: 240
Joined: Sat Mar 14, 2015 14:41
Location: Quillax Ship
Contact:

Re: KeenWiki on a new server

Post by Quillax »

Whoa, that's a custom error page!? All this time, I figured that's what my browser pulls up when you access a broken link to a .zip file. That's really cool, Malv! It really fits KeenWiki!
Quillax Ship - Where you can download all of my cool, keen mods and super-marvelous fangames!
User avatar
Malvineous
Shikadi Webmaster
Posts: 375
Joined: Wed Oct 31, 2007 21:48
Location: Brisbane, Australia
Contact:

Re: KeenWiki on a new server

Post by Malvineous »

Haha thanks, it's supposed to mimic what could sometimes happen under DOS when a program crashed. It would occasionally write random data into the memory used for what was shown on the screen so you'd get random characters of random colours all over the screen and some of them would blink. You knew when you saw that on the screen you'd be reaching for the reset button...
User avatar
Quillax
Vortininja
Posts: 240
Joined: Sat Mar 14, 2015 14:41
Location: Quillax Ship
Contact:

Re: KeenWiki on a new server

Post by Quillax »

You're welcome! Ha ha, that's very interesting information!
Quillax Ship - Where you can download all of my cool, keen mods and super-marvelous fangames!
Post Reply