• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Ugh so updating from 21.04 to 21.10 breaks the database

Scheduled Pinned Locked Moved
FOG Problems
3
9
1.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    Fog_Newb
    last edited by Jan 26, 2022, 5:59 PM

    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

    W Q 2 Replies Last reply Jan 26, 2022, 11:34 PM Reply Quote 0
    • W
      Wayne Workman @Fog_Newb
      last edited by Wayne Workman Jan 26, 2022, 5:37 PM Jan 26, 2022, 11:34 PM

      @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

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      F 1 Reply Last reply Jan 27, 2022, 4:31 PM Reply Quote 2
      • Q
        Quazz Moderator @Fog_Newb
        last edited by Jan 27, 2022, 3:38 PM

        @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.

        F 1 Reply Last reply Jan 27, 2022, 4:32 PM Reply Quote 2
        • F
          Fog_Newb @Wayne Workman
          last edited by Jan 27, 2022, 4:31 PM

          @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.

          W 1 Reply Last reply Jan 31, 2022, 6:49 PM Reply Quote 0
          • F
            Fog_Newb @Quazz
            last edited by Fog_Newb Jan 28, 2022, 6:40 PM Jan 27, 2022, 4:32 PM

            @quazz

            The PHP 8 portion of the FOG upgrade / update went fine. It was when it came to the database.

            Q 1 Reply Last reply Jan 27, 2022, 4:41 PM Reply Quote 0
            • Q
              Quazz Moderator @Fog_Newb
              last edited by Jan 27, 2022, 4:41 PM

              @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.

              F 1 Reply Last reply Jan 29, 2022, 12:39 AM Reply Quote 0
              • F
                Fog_Newb @Quazz
                last edited by Jan 29, 2022, 12:39 AM

                @quazz

                OH! Okay cool cool. Thanks

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman @Fog_Newb
                  last edited by Jan 31, 2022, 6:49 PM

                  @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.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  F 1 Reply Last reply Feb 9, 2022, 5:47 AM Reply Quote 1
                  • F
                    Fog_Newb @Wayne Workman
                    last edited by Feb 9, 2022, 5:47 AM

                    @wayne-workman

                    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.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    220

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project