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

    Upgrade version

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    52
    18.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      None of this will work with ondrej.

      Ondrej has moved into only supporting ‘LTS’ releases.

      You will need to upgrade (or downgrade if you must) to one of the LTS releases.

      Current supported PHP versions for Ondrej are:

      16.10
      16.04
      14.04
      12.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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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
      • M
        mimi1255 @Jaymes Driver
        last edited by

        @Jaymes-Driver
        I tried with this command : sudo add-apt-repository ppa:ondrej/php
        And it works.

        administrateur@FOG:~$ sudo add-apt-repository ppa:ondrej/php
        
         Co-installable PHP versions: PHP 5.6, PHP 7.0, PHP 7.1 and most requested extensions are included.
        
        PLEASE DON'T USE PHP 5.4 OR PHP 5.5. The PHP 5.5 and later are no longer supported with security updates, therefore they are not included in this repository.
        
        You can get more information about the packages at https://deb.sury.org
        
        BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting
        
        PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/
        
        WARNING: add-apt-repository is broken with non-UTF-8 locales, see https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:
        
        # LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
         Plus d’info : https://launchpad.net/~ondrej/+archive/ubuntu/php
        Appuyez sur [ENTRÉE] pour continuer ou Ctrl-C pour annuler l’ajout
        gpg: le porte-clefs « /tmp/tmp1lgwvjgi/secring.gpg » a été créé
        gpg: le porte-clefs « /tmp/tmp1lgwvjgi/pubring.gpg » a été créé
        gpg: demande de la clef E5267A6C sur le serveur hkp keyserver.ubuntu.com
        gpg: /tmp/tmp1lgwvjgi/trustdb.gpg : base de confiance créée
        gpg: clef E5267A6C : clef publique « Launchpad PPA for Ondřej Surý » importée
        gpg: Quantité totale traitée : 1
        gpg:               importées : 1  (RSA: 1)
        OK
        

        But after when I try : sudo apt-get install -y php7.0
        it does not work.

        administrateur@FOG:~$ sudo apt-get install -y php7.0
        Lecture des listes de paquets... Fait
        Construction de l'arbre des dépendances       
        Lecture des informations d'état... Fait
        E: Impossible de trouver le paquet php7.0
        E: Impossible de trouver de paquet correspondant à l'expression rationnelle « php7.0 »
        
        Jaymes DriverJ 1 Reply Last reply Reply Quote 0
        • Jaymes DriverJ
          Jaymes Driver Developer @mimi1255
          last edited by Jaymes Driver

          @mimi1255 you will need to issue the following command

          sudo apt-get install -y php

          drop the 7.0 off the end.

          I see the php7.0 repo in the list on his launchpad page, I am not exactly sure why you aren’t able to download that specific repo.

          The command I gave you should install php7.1

          From what I can tell, all php5.6, 7.0 and 7.1 are housed in the php ppa.

          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

          M 1 Reply Last reply Reply Quote 0
          • M
            mimi1255 @Jaymes Driver
            last edited by

            @Jaymes-Driver
            I removed 7.0 at then end but same problem :

            administrateur@FOG:~$ sudo apt-get install -y php
            Lecture des listes de paquets... Fait
            Construction de l'arbre des dépendances       
            Lecture des informations d'état... Fait
            E: Impossible de trouver le paquet php
            
            Jaymes DriverJ 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              As I stated earlier, no amount of effort will work as you’re running ubuntu 15, you will need to update your Ubuntu version.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • Jaymes DriverJ
                Jaymes Driver Developer @mimi1255
                last edited by

                @mimi1255 It could be possible that the repos do not work for your
                Ubuntu installation.

                I do not see repositories listed for Vivid Vervet in the ppa list.

                https://launchpad.net/~ondrej/+archive/ubuntu/php/+index?batch=75&direction=backwards&memo=225&start=150

                I see Xenial, Trusty, Precise, and Yakkety.

                Are you opposed to upgrading to 16.04? I use 16.04 in my environment and haven’t run into issues yet (other than issues with my web filter).

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mimi1255 @Jaymes Driver
                  last edited by

                  @Jaymes-Driver

                  Do you have a procedure to upgrade ubuntu in the last version ?
                  Thanks again.

                  Jaymes DriverJ 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    do-release-upgrade

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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
                    • Jaymes DriverJ
                      Jaymes Driver Developer @mimi1255
                      last edited by Jaymes Driver

                      @mimi1255
                      From command prompt
                      sudo apt-get update
                      sudo apt-get install update-manager-core
                      sudo apt-get upgrade
                      sudo apt-get dist-upgrade
                      sudo do-release-upgrade -d

                      If you don’t have much on the server, it might be faster to download 16.04 and install it to your machine.

                      I upgraded my 10.04 x32 all the way to 16.04 x64… I don’t recommend this, in the end due to all the errors, I just installed from scratch and imported my old images one at a time with a capture task from the new server.

                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        mimi1255 @Jaymes Driver
                        last edited by

                        @Jaymes-Driver
                        When I start the last commande “sudo do-release-upgrade” I get an error :
                        No update found

                        Jaymes DriverJ 1 Reply Last reply Reply Quote 0
                        • Jaymes DriverJ
                          Jaymes Driver Developer @mimi1255
                          last edited by Jaymes Driver

                          @mimi1255 Make sure you run the sudo apt-get dist-upgrade command

                          You will also need to check/adjust so that the next LTS is downloaded, try this

                          Check the /etc/update-manager/release-upgrades file and change the line
                          Prompt=normal

                          to Prompt=LTS save and exit.

                          Run the do-release-upgrade command again.

                          This should upgrade you to 15.10 (depending on your choices in the release-upgrade file) which will allow you a direct upgrade path to 16.04.

                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mimi1255 @Jaymes Driver
                            last edited by

                            @Jaymes-Driver
                            Prompt=LTS is already set up.

                            Jaymes DriverJ 1 Reply Last reply Reply Quote 0
                            • Jaymes DriverJ
                              Jaymes Driver Developer @mimi1255
                              last edited by

                              @mimi1255 If the upgrade still fails (because 15.04 is technically EOL) try changing the LTS to Normal instead.

                              If there are errors, please provide them so that I can assist further, it may be possible that we need to doctor the repo list to include the old versions.

                              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                              M 2 Replies Last reply Reply Quote 0
                              • M
                                mimi1255 @Jaymes Driver
                                last edited by

                                @Jaymes-Driver
                                Hi Jaymes,
                                I get this error with Prompt=normal:

                                An upgrade from 'vivid' to 'xenial' is not supported with this tool.
                                

                                Thanks

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mimi1255 @Jaymes Driver
                                  last edited by

                                  @Jaymes-Driver
                                  If I install a new fog server on ubuntu 16.04. Is it possible to move my old images to the new fog server ?

                                  Thanks.

                                  george1421G 1 Reply Last reply Reply Quote 0
                                  • george1421G
                                    george1421 Moderator @mimi1255
                                    last edited by george1421

                                    @mimi1255 Sure you can move/copy your images. all you need to do is mount the /images share from your old FOG server onto your new fog server and copy the files over. I would imagine the commands would look similar to this.

                                    On new fog server

                                    1. Mount the /images nfs share on old fog server over the /mnt directory on new fog server. This isn’t 100% best practices but it will get the job done for us.
                                      mount -t nfs <old_fog_IP>:/images /mnt
                                    2. Copy the images over
                                      cp -r /mnt/* /images
                                    3. Wait for the images to complete
                                    4. Unmount the share
                                      umount /mnt

                                    The next part you need to manually copy your image definitions from the old fog server webgui to new fog server web gui.

                                    Just remember with FOG there are the physical files in /images that need to be moved and then you need to update the fog database (via the web gui) to define the images you moved in /images.

                                    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!

                                    M 2 Replies Last reply Reply Quote 1
                                    • M
                                      mimi1255 @george1421
                                      last edited by mimi1255

                                      @george1421
                                      Thank your for your reply. I installed a new ubuntu (16.04) and I installed fog 1.3.4. No problem when I installed fog.
                                      But in my web browser http://ipAddress/fog I get a white webpage. Do you know why ? I restarted the server, I restarted apache2 and mysql services but same problem.
                                      Thanks for your help again.

                                      george1421G 1 Reply Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @mimi1255
                                        last edited by

                                        @mimi1255 well we need to tail the apache error.log to see what its not happy with.

                                        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!

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mimi1255 @george1421
                                          last edited by

                                          @george1421
                                          How can I extract logs ?

                                          george1421G 1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @mimi1255
                                            last edited by

                                            @mimi1255 I’m a rhel guy, so I don’t know the exact location of the error.log file. I think for ubuntu its in /etc (somewhere) you can use the following command to find it find /etc -name error.log

                                            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!

                                            M 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            168

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project