Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
update: move completed... some tweaks done and everything *should* be working back to normal... if not report here in this thread
****************
I just got word from our web host:
Quote:
Sorry for such a delay in response. Things are a bit more complicated; the server vervet.isomerica.net is losing its colocation space at the end of the year and I have been scrambling to extract services to cloud. I've just begun migrating web.

So, we need a plan for this long term. I'll need to run it in Google Cloud, in a VM. I'll put it on a VM that you can access, and I think it should be safe to stop requests, move the site contents, and then start requests in the new location, correct? I'm happy to continue hosting it.

I am currently edge proxying HTTP and HTTPS traffic from a virtual machine in Google Cloud back to vervet which is serving HTTP including bgg.activityclub.org. This is to facilitate moving things bit by bit. What I'll need to do is move the bgg content to a GCP VM, and then cut over the proxy route to point at the new location.

I know what a VM is but not what GCP means (though G is probably google). I don't know if after move if things will work out of the (virtual) "box"
5 
 Thumb up
5.00
 tip
 Hide
  • [+] Dice rolls
Grand Prince Poutine Lord High Thrifter
Canada
Vancouver
flag msg tools
badge
Please support the International Diplomacy Repository -- where your donations of Diplomacy games are always happily accepted!
Avatar
mbmbmbmbmb
Re: Heads up: OLWLG is moving to the cloud - will be downtime
GCP = Google Cloud Platform

Thanks for the warning!
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Kevin B. Smith
United States
Lake Forest Park
Washington
flag msg tools
designer
Avatar
mbmbmbmbmb
Re: Heads up: OLWLG is moving to the cloud - will be downtime
Yup. I don't see any red flags in that brief description. Hopefully it will go as smoothly as planned.

Being in the cloud is probably good in the long run, as it will make it easier for you to relocate if needed again in the future. And if you end up without a volunteer host, the hosting costs should be very low.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
Re: Heads up: OLWLG is moving to the cloud - will be downtime
ok, Dan (our host) moved us to the cloud last night...
Quote:
I have completed the migration to a new VM running in the cloud. The site was briefly down this evening, but looks to be up now. This VM is just running your site, I've given you a login on it and the initial password is "---". Since the VM is dedicated to you, your user is set up to allow sudo access if you need to make changes to the Apache configuration. You can access this VM with SSH to xyz

Note that requests are proxied through the previously mentioned edge proxy, you can't hit the web server directly. This shouldn't really affect you. We'll get letencrypt working properly with that next - the proxy will handle SSL termination. If there are certain forbidden URLs or other things that you want me to lock down at the edge proxy, let me know.

I had some issues with Perl not finding modules that are in the same directory. I think maybe this is some Perl behavior changing, as the VM is running a newer OS version. To mitigate, I modified the CGI scripts I saw throwing errors to include:

use File::Basename;
use lib dirname (__FILE__);

before use query, etc.

Another case where things may be awry is missing Perl libraries, but you can install them as needed with sudo, preferably from package manage (apt/aptitude). Let me know if you need any help.

Happy to continue to support this and am grateful for various tips from your users. Thanks!

And checking indeed the site is running in the cloud now... and it does look like I need to go in and edit more scripts as editmt (used by organizers) at least is getting internal server error.

He's mentioned letsencrypt as I was originally contacting Dan to see if he could config apache so the olwlg can support ssl (https, aka secure http) with the free cert from https://letsencrypt.org/ that I created.

The other good news (for international user) is that w/root access I can install the other languages and maybe we can continue the internationalization that we started in August of 2013!

Again I have no access to know who or how much you all have donated to Dan to compensate him for his time and costs to host the olwlg but as a reminder if you want to donate to Dan go to

https://isomerica.net/

and click on either the one time "make a donation" link near the bottom of the page of setup a recurring donation (paypal only though, if anyone wants to donate by other means I can ask Dan)
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
Ok, I've got access to the new cloud based server/VM and I believe I've tweaked all the scripts that were broken due to the server using perl 5.26 which removed current working directory from the perl module search path

auction side seems fine... and in fact cron jobs to send geekmails already working.

report anything I may have missed or new problems here
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Mitch Harding
United States
Austin
Texas
flag msg tools
"The only difference between me and a madman is that I am not mad." - Salvador Dali
badge
Mostly harmless
Avatar
mbmbmbmbmb
I'm getting a 404 when I try to access http://bgg.activityclub.org/olwlg/

Has the URL changed?
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Ted Marshall
United States
San Jose
California
flag msg tools
Avatar
mbmbmbmbmb
mitcharf wrote:
I'm getting a 404 when I try to access http://bgg.activityclub.org/olwlg/

Has the URL changed?

It works for me. I’d assume the actual IP address changed and the DNS change hasn’t propagated to you. Or else your machine has the old IP address cached; try rebooting your machine.
3 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
TedMarshall wrote:
mitcharf wrote:
I'm getting a 404 when I try to access http://bgg.activityclub.org/olwlg/

Has the URL changed?
It works for me. I’d assume the actual IP address changed and the DNS change hasn’t propagated to you. Or else your machine has the old IP address cached; try rebooting your machine.

correct, the new IP address is 31.189.237.35 35.237.189.31 (the old one was 216.93.242.12)

The change was made late Friday night, in theory any dns server/client that cached the old one should have timed out the old one
3 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Mitch Harding
United States
Austin
Texas
flag msg tools
"The only difference between me and a madman is that I am not mad." - Salvador Dali
badge
Mostly harmless
Avatar
mbmbmbmbmb
JeffyJeff wrote:
correct, the new IP address is 31.189.237.35 (the old one was 216.93.242.12)

The change was made late Friday night, in theory any dns server/client that cached the old one should have timed out the old one

Thanks -- I'm embarrassed that I didn't think of that!

However, I rebooted my phone to no avail. I also reset the host DND cache through Chrome with no luck. Then I decided to try using https and it worked (albeit giving me a security warning). So I can access it, but I'm still curious why regular http doesn't work. I assume it must be caching of some kind. It isn't a browser cache, because I get the same result using two other browsers, neither of which have ever accessed the site before.

I just tried from my Linux box and got the same result (works with https but not http). So it must be hitting the right IP or https wouldn't be working. Very weird. I'll continue to poke around and see what I discover.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
mitcharf wrote:
JeffyJeff wrote:
correct, the new IP address is 31.189.237.35 (the old one was 216.93.242.12)

fwiw I had that ip reversed, new one is 35.237.189.31

fwiw I'm in the middle of working on ssl support... was having a dickens of a time with letsencrypt until I tried changing bgg.activityclub.org from a CNAME record to domain name w/same ip to an A record with the actual address... that got the letsencrypt signed by "staging" CA cert up which gives you the warning... am trying to get actual valid CA signed version ... even tried stopping/starting apache but no luck yet
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Paolo Desalvo
Italy
Country side area north of Rome
flag msg tools
badge
I'm a feder-allergic and I blame the Klingon for not having smashed the Federation in time to save us from Star Trek serials.
Avatar
mbmbmbmbmb
Is this process delaying the approval of new math trades?
Antonio Tricoli/traico7 has required the OLWLG activation for the [NO SHIP] Math Trade - Gobcon Deluxe 2019 (18 - 20 gennaio 2019). Does his request has gone lost in the migration process?
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
BlackSheeper wrote:
Is this process delaying the approval of new math trades?
Antonio Tricoli/traico7 has required the OLWLG activation for the [NO SHIP] Math Trade - Gobcon Deluxe 2019 (18 - 20 gennaio 2019). Does his request has gone lost in the migration process?

yes and yes

Dan did tell me that email wasn't turned on for the VM and I usually received noticed of approval requests via real email... looks like I'll have to switch that to sending me a geekmail

And yes, checking the only pending (approval) MT is a test MT from BenjaminHester. Curious when he submitted as Dan said he shutdown apache on old site, cloned the site to new cloud based server, so nothing should have been lost in theory. This was done on Firday night (eastern time zone) In any case Antonio should resubmit
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Paolo Desalvo
Italy
Country side area north of Rome
flag msg tools
badge
I'm a feder-allergic and I blame the Klingon for not having smashed the Federation in time to save us from Star Trek serials.
Avatar
mbmbmbmbmb
JeffyJeff wrote:
BlackSheeper wrote:
Is this process delaying the approval of new math trades?
Antonio Tricoli/traico7 has required the OLWLG activation for the [NO SHIP] Math Trade - Gobcon Deluxe 2019 (18 - 20 gennaio 2019). Does his request has gone lost in the migration process?

yes and yes

Dan did tell me that email wasn't turned on for the VM and I usually received noticed of approval requests via real email... looks like I'll have to switch that to sending me a geekmail

And yes, checking the only pending (approval) MT is a test MT from BenjaminHester. Curious when he submitted as Dan said he shutdown apache on old site, cloned the site to new cloud based server, so nothing should have been lost in theory. This was done on Friday night (eastern time zone) In any case Antonio should resubmit.

I've passed the info to Antonio. Let us know if we should send you a geekmail instead.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
BlackSheeper wrote:
I've passed the info to Antonio. Let us know if we should send you a geekmail instead.

well I've added in code to send geekmail instead... it will be 1st test after resubmitting can send direct geekmail to me as well if I haven't approved within a couple hours
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Paolo Desalvo
Italy
Country side area north of Rome
flag msg tools
badge
I'm a feder-allergic and I blame the Klingon for not having smashed the Federation in time to save us from Star Trek serials.
Avatar
mbmbmbmbmb
JeffyJeff wrote:
BlackSheeper wrote:
I've passed the info to Antonio. Let us know if we should send you a geekmail instead.

well I've added in code to send geekmail instead... it will be 1st test after resubmitting can send direct geekmail to me as well if I haven't approved within a couple hours

Ok, I passed oh the instruction.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
fwiw for those who may not have noticed... the OLWLG has been running with secure http (https ... I had planned to migrate to it but our host (Dan) went right for it and setup google cloud to auto-upgrade any http requests to http
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Evan Dunn
United States
Brooklyn
New York
flag msg tools
You toast the waffle.
badge
In a syrupy voice, the awful waffle walker tries to butter you up.
Avatar
mbmbmbmbmb
I've been seeing the collection sync time out lately.

Quote:

collection data (from BGG) was last resynced 47.2 hours ago
quietcorn ... 1.96
asking BGG for boardgame data
... BGG not ready on try 1, sleeping 5 seconds, please keep waiting
... BGG not ready on try 2, sleeping 5 seconds, please keep waiting
... BGG not ready on try 3, sleeping 5 seconds, please keep waiting
... BGG not ready on try 4, sleeping 5 seconds, please keep waiting
... BGG not ready on try 5, sleeping 5 seconds, please keep waiting
... BGG is rate limiting on try 6, sleeping 10 seconds, please keep waiting
... found 1098 records
asking BGG for boardgameexpansion data
... BGG not ready on try 1, sleeping 5 seconds, please keep waiting
... BGG not ready on try 2, sleeping 5 seconds, please keep waiting
... BGG not ready on try 3, sleeping 5 seconds, please keep waiting
... BGG not ready on try 4, sleeping 5 seconds, please keep waiting
... BGG not ready on try 5, sleeping 5 seconds, please keep waiting


Then it hangs. If I retry it tells me I can't attempt a sync again for another 12 hours.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls