Ugh so updating from 21.04 to 21.10 breaks the database
-
Hello,
I am wondering how to resolve this problem. After updating from 04 to 10 I rerun the fog installer and run into problems updating the database and the web interface never shows up. I thought about doing a fresh install but… IDK,
If you explain how to get logs and whatever else you need I can.
Thanks
-
@fog_newb This is why it is recommend to run FOG in a VM. Simply snapshot before doing stuff like major upgrades. If it goes south, roll back to your snapshot. Also, both 21.04 and 21.10 are not LTS editions. I would generally advise against running FOG on a Non-LTS version of Ubuntu. In addition, the daily installation tests (link in my signature) do not test non-LTS versions of Ubuntu.
I suggest you fall back to 20.04. We have a migration guide:
https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG -
@fog_newb Ubuntu 21.10 uses PHP8 by default. PHP 8 has certain breaking changes that FOG isn’t compatible with yet.
So as Wayne said, safer to stick to LTS.
I’ll try and help out the devs with PHP8 support tonight if I find the time, it’s been something on my to do list, but I haven’t gotten around to it yet.
-
@wayne-workman Thanks I do run it in a VM and took a snap-shot prior to the upgrade. It’s just I have other services and things running on the box too so it’s not just FOG I would have to migrate.
-
The PHP 8 portion of the FOG upgrade / update went fine. It was when it came to the database.
-
@fog_newb Some PHP files are already fine as they are, some are not, the database update one is one such that is not fine, hence the error.
-
OH! Okay cool cool. Thanks
-
@fog_newb said in Ugh so updating from 21.04 to 21.10 breaks the database:
have other services and things running on the box too
What sort of stuff? Just curious. If at all possible, I would recommend against server-sharing. Not only with FOG, but just as a general I.T. guidelines.
-
The FOG server is running at home and I forget exactly what else is running on it. KMS emulator, and some other things that are easy to migrate. It’s just… I suck at Linux and I remember making lots of tweaks here and there and the idea of doing that all over again is a PITA to me.
The more I think about it, it wouldn’t be a big deal to start fresh.