Re: [Freedos-user] Editing the wiki
> >- Pick a new wiki provider (Dreamhost) > >- Configure and test *before* freezing or moving DNS records using an > >entry in your local hosts file. > >- Freeze and move content to the new host. > >- Update the DNS records to point at the new host. > >- Decommission the old wiki. I've moved a few MediaWiki installs and if it helps, here are a few things I have found: Set $wgReadOnly = 'blah' in the old LocalSettings.php. This leaves the wiki accessible to people reading it, but prevents anyone from editing it. This is useful because some ISPs aggressively cache DNS entries and I've found once updating the DNS to point to the new IP address, some people still hit the old site up to a week later. So if it's still there and just read only, at least those people can still read it. You can move the files and the database separately. I usually move the database first, and point the old site to the new database. This then allows me to set up the site on the new server, also pointing to the new database, and test it at my leisure (via the 'hosts' file as Michael mentioned, explained below). I can then be confident that when cutting over to the new site nothing will misbehave as I won't be changing any database settings or importing any additional data, all that happens is the old site gets marked read only, the DNS gets updated, and the images/uploads directory gets refreshed from the old site with rsync. This also leaves the old site connected to the new DB after the cutover, so those people whose DNS hasn't updated will still get to see the latest content, even if they can't make any edits because of $wgReadOnly. I usually change the message at this point to something like $wgReadOnly = 'This site has moved servers but your Internet provider has not yet picked up the change and you are accessing the old server which is now read-only. Please try again in a day or so if you wish to make any edits.'; > That's a better idea and simpler. I already have test.freedos.org that is > usually empty - but right now is hosting a "test" copy of a new iteration > of the website. That seems like a good place to set up a new wiki, before I > push it to an official new wiki.freedos.org hosted on Dreamhost. If you put the entry in the 'hosts' file on your PC (/etc/hosts under Linux, IIRC C:\Windows\system32\etc\hosts on Windows) then you don't need a special DNS entry. You can just put wiki.freedos.org in there with the new IP address and it will override the real DNS entry just for your local machine. This will allow you to test the new site on the real final domain, so you won't need to mess around with the server or wiki configuration. You can set it up on the final wiki.freedos.org domain and test it from your machine, and know that when you update the real DNS it will work just the same for everyone else. Interesting that you are moving it to Dreamhost. I had to move my wikis off Dreamhost a few years ago because they were so slow and had frequent HTTP 500 errors when someone else's site would go rogue and take mine offline too. It would happen a few times a week and my site would be offline for many hours at a time so I finally gave up and moved to Linode, and that fixed the problem (but of course at a price, nobody can beat Dreamhost's pricing!) Cheers, Adam. ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
On Mon, May 24, 2021 at 2:10 PM Michael Brutman wrote: > Yes, it seems to be functioning normally now. The next time I see a 5xx > type error I'll know not to try to debug it. ;-0 > > If the wiki is generally fast enough I wouldn't change anything. My > opinion was formed last night after one long session with it when it was > clearly struggling. If that is not the normal experience then consider > doing nothing. > > If that is the normal experience, well, for a primary source of > documentation that's not a great experience. Given that "wiki.freedos.org" > is a subdomain of "freedos.org" you could create additional DNS records > that point just the "wiki" part to a new host, without changing anything > else. The steps would look more like: > >- Pick a new wiki provider (Dreamhost) >- Configure and test *before* freezing or moving DNS records using an >entry in your local hosts file. >- Freeze and move content to the new host. >- Update the DNS records to point at the new host. >- Decommission the old wiki. > > That lets you keep the "wiki.freedos.org" name. > > Looking at the current DNS records: > > wiki.freedos.org: > >- CNAME is vhost.sourceforge.net >- A record is 216.105.38.10 (Sourceforge.net) > > freedos.org: > >- A record is 173.236.175.214 (Dreamhost) > > > So just changing the A record for wiki.freedos.org to point at a new host > (when it is ready) should do the trick. > > That's a better idea and simpler. I already have test.freedos.org that is usually empty - but right now is hosting a "test" copy of a new iteration of the website. That seems like a good place to set up a new wiki, before I push it to an official new wiki.freedos.org hosted on Dreamhost. I'll push ahead on the website update so I can work on the wiki next. Jim ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
Yes, it seems to be functioning normally now. The next time I see a 5xx type error I'll know not to try to debug it. ;-0 If the wiki is generally fast enough I wouldn't change anything. My opinion was formed last night after one long session with it when it was clearly struggling. If that is not the normal experience then consider doing nothing. If that is the normal experience, well, for a primary source of documentation that's not a great experience. Given that "wiki.freedos.org" is a subdomain of "freedos.org" you could create additional DNS records that point just the "wiki" part to a new host, without changing anything else. The steps would look more like: - Pick a new wiki provider (Dreamhost) - Configure and test *before* freezing or moving DNS records using an entry in your local hosts file. - Freeze and move content to the new host. - Update the DNS records to point at the new host. - Decommission the old wiki. That lets you keep the "wiki.freedos.org" name. Looking at the current DNS records: wiki.freedos.org: - CNAME is vhost.sourceforge.net - A record is 216.105.38.10 (Sourceforge.net) freedos.org: - A record is 173.236.175.214 (Dreamhost) So just changing the A record for wiki.freedos.org to point at a new host (when it is ready) should do the trick. Mike ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
howto.freedos.org Enviado desde Yahoo Mail para Android El lun., 24 de may. de 2021 a la(s) 11:38 a. m., Jim Hall escribió: ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
We should keep the FreeDOS wiki on the freedos.org domain. On Mon, May 24, 2021 at 11:32 AM Thomas Desi wrote: > freedos.wiki.org > > ? > Regards > Thomas > > Am 24.05.2021 um 17:28 schrieb Jim Hall : > > > The wiki seems to be okay as I look at it now: > http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_mTCP > > The wiki is slow, that's true. For a while, I've been planning to move it > off where it's hosted now (SourceForge shared project hosting) to where I'm > hosting the main FreeDOS website (Dreamhost). The Dreamhost servers are > much faster. > > SourceForge has had some unexplained downtime in the last few months, > where web hosting or database hosting has gone down and didn't tell anyone > (a) that it was happening or (b) what happened. That might explain what > happened when you got the "500 error." You can see on their SFNet_Ops > twitter that they've announced maintenance work, but nothing about outages. > https://twitter.com/sfnet_ops > > So I think I need to get started with moving the wiki to Dreamhost. I > think the best plan is this: > > 1. Find a new web name for the wiki (help.freedos.org or docs.freedos.org > or ..?) > > 2. Set up the new website on Dreamhost > > 3. Freeze edits on the old wiki > > 4. Install & configure the wiki software > 4a. Copy the databases & files > > 5. Update links on the website to use the new wiki > > 6. Decommission the old wiki > > 7. Re-point "wiki.freedos.org" as an alias to the new wiki (so any links > people have that go to the wiki don't break) > > > > So, what seems like a good wiki website name? I'm open to ideas. > > > Jim > > > On Sun, May 23, 2021 at 11:46 PM Michael Brutman > wrote: > >> No good deed goes unpunished ... >> >> I made my edits. Then this happened: >> >>- http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_mTCP is >>broken and returns a 500 error from the server. >>- >>http://wiki.freedos.org/wiki/index.php?title=Networking_FreeDOS_-_mTCP >>works fine, but it's not a direct URL. (The name is in the parameter.) >> >> I made a mess of the revision history trying to isolate which edits might >> have broken it, but even going all the way back to Martin's last edit >> doesn't work now. And it's a server 500, which is not something user >> content should be able to cause. >> >> Jim - who is hosting this thing? Besides being broken, it's also pretty >> slow. I feel bad because it broke on me, but nothing I did should have >> broken it. (I suspect there is an admin page that I can't get to where >> error logs can be examined.) >> >> >> Mike >> >> >> >> On Thu, May 6, 2021 at 4:45 AM Jim Hall wrote: >> >>> Hi Mike! >>> >>> I can create an account for you. >>> >>> I'll create your account today and send it to you. >>> >>> >>> On Wed, May 5, 2021, 11:14 PM Michael Brutman >>> wrote: >>> I've noticed some inaccuracies on the FreeDOS networking wiki pages. How does one get an account so that edits can be made? -Mike ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user >>> ___ >>> Freedos-user mailing list >>> Freedos-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/freedos-user >>> >> ___ >> Freedos-user mailing list >> Freedos-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freedos-user >> > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
freedos.wiki.org ? Regards Thomas Am 24.05.2021 um 17:28 schrieb Jim Hall : The wiki seems to be okay as I look at it now: http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_mTCP The wiki is slow, that's true. For a while, I've been planning to move it off where it's hosted now (SourceForge shared project hosting) to where I'm hosting the main FreeDOS website (Dreamhost). The Dreamhost servers are much faster. SourceForge has had some unexplained downtime in the last few months, where web hosting or database hosting has gone down and didn't tell anyone (a) that it was happening or (b) what happened. That might explain what happened when you got the "500 error." You can see on their SFNet_Ops twitter that they've announced maintenance work, but nothing about outages. https://twitter.com/sfnet_ops So I think I need to get started with moving the wiki to Dreamhost. I think the best plan is this: 1. Find a new web name for the wiki (help.freedos.org or docs.freedos.org or ..?) 2. Set up the new website on Dreamhost 3. Freeze edits on the old wiki 4. Install & configure the wiki software 4a. Copy the databases & files 5. Update links on the website to use the new wiki 6. Decommission the old wiki 7. Re-point "wiki.freedos.org" as an alias to the new wiki (so any links people have that go to the wiki don't break) So, what seems like a good wiki website name? I'm open to ideas. Jim On Sun, May 23, 2021 at 11:46 PM Michael Brutman wrote: > No good deed goes unpunished ... > > I made my edits. Then this happened: > http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_mTCP is broken > and returns a 500 error from the server. > http://wiki.freedos.org/wiki/index.php?title=Networking_FreeDOS_-_mTCP works > fine, but it's not a direct URL. (The name is in the parameter.) > I made a mess of the revision history trying to isolate which edits might > have broken it, but even going all the way back to Martin's last edit doesn't > work now. And it's a server 500, which is not something user content should > be able to cause. > > Jim - who is hosting this thing? Besides being broken, it's also pretty > slow. I feel bad because it broke on me, but nothing I did should have > broken it. (I suspect there is an admin page that I can't get to where error > logs can be examined.) > > > Mike > > > > On Thu, May 6, 2021 at 4:45 AM Jim Hall wrote: >> Hi Mike! >> >> I can create an account for you. >> >> I'll create your account today and send it to you. >> >> >> On Wed, May 5, 2021, 11:14 PM Michael Brutman wrote: >>> I've noticed some inaccuracies on the FreeDOS networking wiki pages. How >>> does one get an account so that edits can be made? >>> >>> >>> -Mike >>> >>> ___ >>> Freedos-user mailing list >>> Freedos-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/freedos-user >> ___ >> Freedos-user mailing list >> Freedos-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
The wiki seems to be okay as I look at it now: http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_mTCP The wiki is slow, that's true. For a while, I've been planning to move it off where it's hosted now (SourceForge shared project hosting) to where I'm hosting the main FreeDOS website (Dreamhost). The Dreamhost servers are much faster. SourceForge has had some unexplained downtime in the last few months, where web hosting or database hosting has gone down and didn't tell anyone (a) that it was happening or (b) what happened. That might explain what happened when you got the "500 error." You can see on their SFNet_Ops twitter that they've announced maintenance work, but nothing about outages. https://twitter.com/sfnet_ops So I think I need to get started with moving the wiki to Dreamhost. I think the best plan is this: 1. Find a new web name for the wiki (help.freedos.org or docs.freedos.org or ..?) 2. Set up the new website on Dreamhost 3. Freeze edits on the old wiki 4. Install & configure the wiki software 4a. Copy the databases & files 5. Update links on the website to use the new wiki 6. Decommission the old wiki 7. Re-point "wiki.freedos.org" as an alias to the new wiki (so any links people have that go to the wiki don't break) So, what seems like a good wiki website name? I'm open to ideas. Jim On Sun, May 23, 2021 at 11:46 PM Michael Brutman wrote: > No good deed goes unpunished ... > > I made my edits. Then this happened: > >- http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_mTCP is >broken and returns a 500 error from the server. >- >http://wiki.freedos.org/wiki/index.php?title=Networking_FreeDOS_-_mTCP >works fine, but it's not a direct URL. (The name is in the parameter.) > > I made a mess of the revision history trying to isolate which edits might > have broken it, but even going all the way back to Martin's last edit > doesn't work now. And it's a server 500, which is not something user > content should be able to cause. > > Jim - who is hosting this thing? Besides being broken, it's also pretty > slow. I feel bad because it broke on me, but nothing I did should have > broken it. (I suspect there is an admin page that I can't get to where > error logs can be examined.) > > > Mike > > > > On Thu, May 6, 2021 at 4:45 AM Jim Hall wrote: > >> Hi Mike! >> >> I can create an account for you. >> >> I'll create your account today and send it to you. >> >> >> On Wed, May 5, 2021, 11:14 PM Michael Brutman >> wrote: >> >>> I've noticed some inaccuracies on the FreeDOS networking wiki pages. >>> How does one get an account so that edits can be made? >>> >>> >>> -Mike >>> >>> ___ >>> Freedos-user mailing list >>> Freedos-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/freedos-user >>> >> ___ >> Freedos-user mailing list >> Freedos-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freedos-user >> > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Editing the wiki
Hi Michael, same thing happens last sunday with the server, the wiki page is ok today. ;) Enviado desde Yahoo Mail para Android El dom., 23 de may. de 2021 a la(s) 11:46 p. m., Michael Brutman escribió: ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user