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

    upgraded to Ubuntu 18.04.1 LTS

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    20
    2.6k
    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.
    • Boyan BiandovB
      Boyan Biandov
      last edited by Boyan Biandov

      @Wayne-Workman Great link Wayne, I am actually going to do this myself very soon, one point of clarification if I may: section “Arranging Images”. Is it really necessary to copy the images to a folder, other than /images on the new fog server and then once they are copied there “rearrange” them by moving them again into the final destination of /images (assuming fog defaults)?

      Is there a problem by simply mounting /images at the old fog server and then copying the image files straight to their final destination on the new fog sever (which would be /images by default)?

      Thanks

      Wayne WorkmanW Q 2 Replies Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Boyan Biandov
        last edited by Wayne Workman

        @Boyan-Biandov said in upgraded to Ubuntu 18.04.1 LTS:

        Is it really necessary to copy the images to a folder, other than /images on the new fog server and then once they are copied there “rearrange” them by moving them again into the final destination of /images (assuming fog defaults)?

        Yes, because FOG’s NFS configuration does not allow writing to /images, it’s a read-only share. /images/dev is read+write. I kept the walkthrough as simple as possible, leveraging things already setup on the servers. If you wanted to use something like SCP, you could put the images directly where they need to go.

        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/

        1 Reply Last reply Reply Quote 1
        • Q
          Quazz Moderator @Boyan Biandov
          last edited by

          @Boyan-Biandov said in upgraded to Ubuntu 18.04.1 LTS:

          @Wayne-Workman Great link Wayne, I am actually going to do this myself very soon, one point of clarification if I may: section “Arranging Images”. Is it really necessary to copy the images to a folder, other than /images on the new fog server and then once they are copied there “rearrange” them by moving them again into the final destination of /images (assuming fog defaults)?

          Imagine scenario A: You are busy capturing a new version of your image and someone attempts to deploy that image. They will get an incomplete and broken image and the install has failed.

          Imagine scenario B: You are busy capturing a new version of your image but something goes wrong! The image is now in an incomplete/broken state and you have no way of knowing for how long that will be the case! Not very practical.

          So yeah, there are legitimate reasons for using a ‘temporary directory’ if you will.

          1 Reply Last reply Reply Quote 1
          • B
            bsalogga @Wayne Workman
            last edited by

            @Wayne-Workman

            I did a new install on different machine and am having trouble with
            Installing package: php-mysqlnd…Failed! (Will try later)
            Started with Ubuntu 18.04.1 and fog 1.5.4.
            I tried going back to ubunutu 16 and then 14 with fog 1.5.4 and 1.4.4 in all combinations. Still get the php-mysqulnd error. I currently have 18.04.1 back on the machine and am trying to install 1.5.4.
            I am stuck.

            B Q 2 Replies Last reply Reply Quote 0
            • B
              bsalogga @bsalogga
              last edited by

              @bsalogga 0_1540480145345_fog_error_1.5.4.log

              1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @bsalogga
                last edited by Quazz

                @bsalogga Is this a clean FOG install attempt? just read the other posts, it’s an upgrade so below advice should work afaik

                Afaik, FOG should try to install php-mysql before php-mysqlnd which should make it return that it’s installed as a virtual package.

                Instead there is no attempt to install php-mysql at all.

                Does /opt/fog/.fogsettings exist? If so, delete the packages= line (in .fogsettings) and rerun the installer

                B 1 Reply Last reply Reply Quote 0
                • Boyan BiandovB
                  Boyan Biandov
                  last edited by

                  @bsalogga Just to be sure, this is NOT a brand new install of Ubuntu 18.04.1 LTS but rather there was a previous “clean” install of some older version and then it was UPGRADED to the current LTS of Ubuntu 18.04.1 LTS? Yes?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bsalogga @Boyan Biandov
                    last edited by

                    @Boyan-Biandov

                    clean install

                    1 Reply Last reply Reply Quote 0
                    • B
                      bsalogga @Quazz
                      last edited by

                      @Quazz
                      no .fogsettings, but tried removing packages= from installfog.sh. Same error.

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth

                        @bsalogga Try sudo apt-get purge sysv-rc-conf and then run the installer again.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        B 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @bsalogga
                          last edited by

                          @bsalogga Are you using desktop or server Ubuntu 18.04.1 ? My daily tests use server edition, no GUI, 18.04

                          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/

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bsalogga @Sebastian Roth
                            last edited by

                            @Sebastian-Roth
                            Still not working. Error for the php-mysqlnd.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Sebastian Roth

                              @bsalogga said in upgraded to Ubuntu 18.04.1 LTS:

                              I did a new install on different machine

                              Just for everyone to notice. Initially this was a question about an upgraded Ubuntu installation but a fresh install was done now.

                              Please run sudo add-apt-repository universe and then re-run the FOG installer.

                              If that still does not work you want to try out the latest working branch of FOG (either directly using git or ZIP download). We have addressed Ubuntu 18.04 issues there.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              Boyan BiandovB 1 Reply Last reply Reply Quote 0
                              • Boyan BiandovB
                                Boyan Biandov @Sebastian Roth
                                last edited by

                                I agree with @Sebastian-Roth - a new install runs, in fact just recently I asked the same exact question just to be sure before I undertake a move since I’ve seen some prior issues but the discussion put that to rest, Ubuntu 18.04.1 LTS installs just fine:

                                0_1540563671240_pos.png

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by

                                  @Boyan-Biandov Ubuntu 18.04 is not exactly like 18.04.1 - see my comment here https://github.com/FOGProject/fogproject/issues/261

                                  I just figured what the difference is Ubuntu 18.04 server comes in two different flavors. One is the normal server ISO and the other one is the LIVE server. For 18.04 straight you could still download both versions. But seems like since 18.04.1 is out there is only the LIVE server image available anymore. I just installed 18.04.0 plain server and it has the mentioned universe section in sources.list
                                  Here is a link for the non-live ISOs
                                  http://www.cdimage.ubuntu.com/ubuntu/releases/18.04/release/

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 1
                                  • B
                                    bsalogga @Wayne Workman
                                    last edited by

                                    @Wayne-Workman
                                    Using desktop. Since you mentioned server version, I gave it a try, but added gnome desktop. Same error.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      @bsalogga said in upgraded to Ubuntu 18.04.1 LTS:

                                      Using desktop. Since you mentioned server version, I gave it a try, but added gnome desktop. Same error.

                                      Was this a fresh clean install? Please provide the full logs again so we can have a look. It’s not helpful to just say “same error”.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                                      217

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project