It is currently 03 Mar 2024, 16:06




 Page 1 of 1 [ 12 posts ] 
Author Message
 Post subject: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 23 Sep 2020, 15:18 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 4514
Location: Tokyo
Has thanked: 289 times
Been thanked: 1114 times
It has been a little more than 3.5 years since the last upgrade (see It's time for a LDDb.com hardware upgrade!) and the hardware is not really an issue... but the Operating System is (Debian 8: not maintained anymore since June).

Updating the whole OS from Debian 8 to 9 or 10 on the main server is quite scary.
Doing a parallel validation and switching to the new server when ready is much, much more recommended.
It just requires to pay for both during the migration preparation time, some of the donations will be used for that.

=> http://163.172.34.149/

For most users the difference will only be a 4~24h downtime while the DNS get refreshed.
But for me, it will be several busy evenings and weekends :-P

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
LDD-1 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 23 Sep 2020, 15:28 
Jedi Knight
Jedi Knight
User avatar

Joined: 14 Jan 2010, 09:44
Posts: 5948
Location: Ann Arbor
Has thanked: 1251 times
Been thanked: 1085 times
Thanks for your work.
_________________
All about LD care, inner sleeves, shrink wrap, etc.

https://youtu.be/b3O-vHpHRpM
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 23 Sep 2020, 17:17 
Hardcore fan
Hardcore fan
User avatar

Joined: 13 Sep 2012, 23:14
Posts: 1199
Location: United Kingdom
Has thanked: 265 times
Been thanked: 259 times
As above - thank-you Julien.

What you have done & do here really is appreciated.

:thumbup: :thumbup:
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 23 Sep 2020, 17:28 
Serious fan
Serious fan
User avatar

Joined: 26 May 2014, 19:25
Posts: 236
Location: United States
Has thanked: 65 times
Been thanked: 92 times
Excited. Thanks for the refresh.
_________________
Kevin
LD-S2|CLD-D704|CLD-D406|DVL-V888|LX-900U|Crystalio II|Yamaha APD-1|Sony XBR55X810C
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 23 Sep 2020, 19:05 
Jedi Candidate
Jedi Candidate
User avatar

Joined: 02 Apr 2006, 21:20
Posts: 2125
Location: United States
Has thanked: 75 times
Been thanked: 132 times
admin wrote:
It has been a little more than 3.5 years since the last upgrade (see It's time for a LDDb.com hardware upgrade!) and the hardware is not really an issue... but the Operating System is (Debian 8: not maintained anymore since June).

Updating the whole OS from Debian 8 to 9 or 10 on the main server is quite scary.
Doing a parallel validation and switching to the new server when ready is much, much more recommended.
It just requires to pay for both during the migration preparation time, some of the donations will be used for that.

=> http://163.172.34.149/

For most users the difference will only be a 4~24h downtime while the DNS get refreshed.
But for me, it will be several busy evenings and weekends :-P

Julien


Whenever it can be done I would like to start donating again. thanks for everything you do.
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 24 Sep 2020, 23:28 
True fan
True fan
User avatar

Joined: 08 Aug 2019, 06:39
Posts: 344
Location: VT USA
Has thanked: 305 times
Been thanked: 172 times
Thank you Julian, sincerely. Without you this hobby would not be where it is today.
_________________
You know, excuse me, this is, a damn fine cup of coffee.
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 27 Sep 2020, 06:27 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 4514
Location: Tokyo
Has thanked: 289 times
Been thanked: 1114 times
All right, I'm spending my (rainy) weekend on this.

So far:

Good news: most of the customs packages I was using from source in Debian 8 are standard in Debian 10 now.
Good news: MariaDB (MySQL replacement) is much faster

Bad news: I initially setup the 3 x 250GB SSD for maximum capacity but if we lose one disk we lose everything. Must reinstall from scratch in RAID 5.
Bad news: PHP7 breaks a LOT of legacy PHP4/5 code for LDDb. That could be a HUGE problem but... I'm lucky!

=> https://cloudwafer.com/blog/installing-multiple-versions-of-php-on-debian/

I will be able to move to the new server while retaining most of the compatibility with PHP5, giving me plenty of time to fix the code for PHP7 on my dev laptop pushing upgrading.

So... back to partitioning and full reinstall!

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
LDD-1 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 27 Sep 2020, 11:06 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 4514
Location: Tokyo
Has thanked: 289 times
Been thanked: 1114 times
admin wrote:
So... back to partitioning and full reinstall!


The very definition of bad luck.

Spent the day waiting for the 2 re-installations attempts to complete:

https://status.scaleway.com/incident/998

Quote:
Dedibox Debian 10 installation errors
an hour ago

We are experiencing installation issue with Debian. The installation may not go through. We are currently investigating on the situation. In the meantime, we suggest using another OS.

===================
2020.09.27 0913Z (1113LT)

Issue has been escalated to the local team


Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
LDD-1 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 28 Sep 2020, 06:03 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 4514
Location: Tokyo
Has thanked: 289 times
Been thanked: 1114 times
:shock: :? :problem:

The server I was assigned kept crashing every hour... 2 of the 3 SSDs were faulty.

Got a new one, starting everything from scratch again!

=> http://163.172.105.186/

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
LDD-1 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 28 Sep 2020, 08:21 
Advanced fan
Advanced fan
User avatar

Joined: 16 Jun 2015, 15:40
Posts: 825
Location: Australia
Has thanked: 105 times
Been thanked: 95 times
Here's hoping it goes more smoothly now!
_________________
Looking for Hi-Vision Discs (MUSE or HDVS).......
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 06 Oct 2020, 11:00 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 4514
Location: Tokyo
Has thanked: 289 times
Been thanked: 1114 times
admin wrote:
Bad news: PHP7 breaks a LOT of legacy PHP4/5 code for LDDb. That could be a HUGE problem but... I'm lucky!

=> https://cloudwafer.com/blog/installing-multiple-versions-of-php-on-debian/

I will be able to move to the new server while retaining most of the compatibility with PHP5, giving me plenty of time to fix the code for PHP7 on my dev laptop pushing upgrading.


Even better!

https://cloudwafer.com/blog/installing-multiple-versions-of-php-on-debian/
+
https://devanswers.co/run-multiple-php-versions-on-apache/
=
Can have each virtual/subdomain on a specific version of PHP, not globally PHP5 or PHP7.

I can probably start migrating everything very soon thanks to this hack.

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
LDD-1 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: It's time for a LDDb.com hardware+OS upgrade!
PostPosted: 18 Oct 2020, 08:07 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 4514
Location: Tokyo
Has thanked: 289 times
Been thanked: 1114 times
Done!

If you can read this, you are on the forum running on the new server.

It seems that even my user sessions were retained (not sure how that worked!) from the old to new server.
Probably through cookies related to the domain that are re-created to extend the current session?

Update details on https://www.lddb.com/history.php?version=3.4

Old server termination requested (Nov 1st) to avoid paying one extra month of hosting for nothing.

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
LDD-1 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: