LaserDisc Database
https://forum.lddb.com/

It's time for a LDDb.com hardware+OS upgrade!
https://forum.lddb.com/viewtopic.php?f=2&t=9374
Page 1 of 1

Author:  admin [ 23 Sep 2020, 15:18 ]
Post subject:  It's time for a LDDb.com hardware+OS upgrade!

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

Author:  signofzeta [ 23 Sep 2020, 15:28 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

Thanks for your work.

Author:  je280 [ 23 Sep 2020, 17:17 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

As above - thank-you Julien.

What you have done & do here really is appreciated.

:thumbup: :thumbup:

Author:  sonicboom [ 23 Sep 2020, 17:28 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

Excited. Thanks for the refresh.

Author:  xtempo [ 23 Sep 2020, 19:05 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

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.

Author:  pokefraker [ 24 Sep 2020, 23:28 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

Thank you Julian, sincerely. Without you this hobby would not be where it is today.

Author:  admin [ 27 Sep 2020, 06:27 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

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

Author:  admin [ 27 Sep 2020, 11:06 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

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

Author:  admin [ 28 Sep 2020, 06:03 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

: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

Author:  audioboyz1973 [ 28 Sep 2020, 08:21 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

Here's hoping it goes more smoothly now!

Author:  admin [ 06 Oct 2020, 11:00 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

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

Author:  admin [ 18 Oct 2020, 08:07 ]
Post subject:  Re: It's time for a LDDb.com hardware+OS upgrade!

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

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/