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

    Upgrade version

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    52
    20.0k
    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.
    • M
      mimi1255
      last edited by

      The ubuntu version is 15.04.

      Thanks.

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

        @mimi1255 Then this may be the path forward.

        http://idroot.net/tutorials/how-to-install-php-7-on-ubuntu-15-04/

        You will need to execute (at least steps 1 and 2) before attempting to 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!

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

          The ubuntu version is 15.04.

          Thanks.

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

            @mimi1255 Then this may be the path forward.

            http://idroot.net/tutorials/how-to-install-php-7-on-ubuntu-15-04/

            You will need to execute (at least steps 1 and 2) before attempting to 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!

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

              @mimi1255 Do you have any kind of filter device, or proxy settings?

              Did the repository update succeed and only the php installation fails?

              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.

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

                @george1421

                When I try to add the PPA, I get this message :

                Cannot add PPA: 'ppa:~ondrej/ubuntu/php-7.0'.
                The user named '~ondrej' has no PPA named 'ubuntu/php-7.0'
                Please choose from the following available PPAs:
                 * 'apache2':  PPA for Apache 2.x
                 * 'apache2-qa':  PPA for Apache2 (QA builds; experimental)
                 * 'autotools':  PPA for autotools (not-supported; build-dependency; experimental)
                 * 'bind9':  PPA for BIND 9
                 * 'cmake':  PPA for CMake (not-supported, experimental)
                 * 'common':  Common PPA packages
                 * 'courier':  PPA for Courier MTA
                 * 'cyrus-imapd':  PPA for Cyrus IMAP
                 * 'debhelper':  PPA for Debhelper (and friends)
                 * 'golang':  PPA for Go (experimental, build-dependency)
                 * 'llvm':  PPA for LLVM
                 * 'mariadb-10.0':  PPA for MariaDB 10.0 (don't use, broken)
                 * 'mysql-5.5':  PPA for MySQL 5.5 (don't use, broken)
                 * 'mysql-5.6':  PPA for MySQL 5.6 (don't use, broken)
                 * 'mysql-5.7':  PPA for MySQL 5.7 (don't use, broken)
                 * 'nginx':  PPA for NGINX with HTTP/2 on Ubuntu 12.04 LTS and higher
                 * 'nginx-mainline':  PPA for NGINX Mainline with HTTP/2 on Ubuntu 12.04 LTS and higher
                 * 'pelican':  PPA for Pelican
                 * 'php':  ***** The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****
                 * 'php-qa':  PPA for PHP (QA builds; experimental)
                 * 'php-zts':  PPA for PHP ZTS (experimental, unsupported)
                 * 'php5-compat':  PPA with dummy compatibility php5* packages
                 * 'php5-oldstable':  PPA for PHP 5.4 (unsupported, vulnerable)
                 * 'pkg-dpkg':  dpkg and friends (very experimental)
                 * 'pkg-gearman':  PPA for Gearman
                 * 'pkg-nlnetlabs':  NLNetLabs Backported Packages
                 * 'postfix+dane':  PPA for Postfix with DANE support
                 * 'ppa':  PPA for Ondřej Surý
                 * 'sandbox':  Sandbox for preparation of various packages (DON'T USE)
                 * 'seafile':  PPA for Seafile
                 * 'zonemaster':  PPA for Zonemaster
                
                
                Jaymes DriverJ 1 Reply Last reply Reply Quote 0
                • Jaymes DriverJ
                  Jaymes Driver Developer @mimi1255
                  last edited by

                  @mimi1255 try sudo add-apt-repository ppa:ondrej/php
                  It states that you can only use the commands below, php is in the list but php7.0 is not.

                  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
                  • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post

                                            140

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project