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

    Adding needed repository Failed!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    24
    6.3k
    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 @Quazz
      last edited by

      @Quazz no need to edit installer files.

      Remove php and libapache2-mod-php

      Edit fogsettings remove packages from file.

      Change php_ver to 7.0

      Change php_verAdd to -7.0

      Run installer

      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

      x23piracyX O 2 Replies Last reply Reply Quote 0
      • x23piracyX
        x23piracy @Tom Elliott
        last edited by

        @Tom-Elliott said in Adding needed repository Failed!:

        @Quazz no need to edit installer files.

        Remove php and libapache2-mod-php

        Edit fogsettings remove packages from file.

        Change php_ver to 7.0

        Change php_verAdd to -7.0

        Run installer

        Sorry but i don’t know howto to do this.

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 0
        • x23piracyX
          x23piracy
          last edited by

          Hi,

          i have done a release upgrade to 16.04.1 but same error, adding repositorys failed. F**** monday 😉

          ║▌║█║▌│║▌║▌█

          1 Reply Last reply Reply Quote 0
          • O
            Oleg @Tom Elliott
            last edited by

            @Tom-Elliott

            I’m using ubuntu 14.04.05:
            if I change the php_ver and php_verAdd I get this error later in the update-process:

            * Setting up Apache and PHP files.............................Failed
               ###########################################
               #                                         #
               #      PHP Failed to install properly     #
               #                                         #
               ###########################################
            
               Could not find /etc/php/7/apache2/php.ini!
            
            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • x23piracyX
              x23piracy
              last edited by x23piracy

              Here is the error log after upgrading to ubuntu 16:

              /usr/bin/lsb_release
              /bin/systemctl
              /opt/fog/.fogsettings
              Paketlisten werden gelesen...
              Abhängigkeitsbaum wird aufgebaut....
              Statusinformationen werden eingelesen....
              »software-properties-common« ist bereits die neuste Version (0.96.20.4).
              »python-software-properties« ist bereits die neuste Version (0.96.20.4).
              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
               7 Nov 12:01:31 ntpdate[2476]: no server suitable for synchronization found
              Cannot add PPA: 'ppa:~ondrej/ubuntu/php5-5.6'.
              The user named '~ondrej' has no PPA named 'ubuntu/php5-5.6'
              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
               * 'mysql-5.5':  PPA for MySQL 5.5
               * 'mysql-5.6':  PPA for MySQL 5.6
               * 'mysql-5.7':  PPA for MySQL 5.7
               * '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.5, 5.6, 7.0) 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
              OK:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
              OK:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
              OK:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
              OK:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
              Paketlisten werden gelesen...
              Paketlisten werden gelesen...
              Abhängigkeitsbaum wird aufgebaut....
              Statusinformationen werden eingelesen....
              »ntpdate« ist bereits die neuste Version (1:4.2.8p4+dfsg-3ubuntu5.3).
              »python-software-properties« ist bereits die neuste Version (0.96.20.4).
              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
               7 Nov 12:01:46 ntpdate[2659]: no server suitable for synchronization found
              Generating locales (this might take a while)...
                en_US.UTF-8... done
              Generation complete.
              Cannot add PPA: 'ppa:~ondrej/ubuntu/php5-5.6'.
              The user named '~ondrej' has no PPA named 'ubuntu/php5-5.6'
              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
               * 'mysql-5.5':  PPA for MySQL 5.5
               * 'mysql-5.6':  PPA for MySQL 5.6
               * 'mysql-5.7':  PPA for MySQL 5.7
               * '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.5, 5.6, 7.0) 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
              OK:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
              OK:2 http://de.archive.ubuntu.com/ubuntu xenial InRelease
              OK:3 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
              OK:4 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
              Paketlisten werden gelesen...
              Paketlisten werden gelesen...
              Abhängigkeitsbaum wird aufgebaut....
              Statusinformationen werden eingelesen....
              »ntpdate« ist bereits die neuste Version (1:4.2.8p4+dfsg-3ubuntu5.3).
              »software-properties-common« ist bereits die neuste Version (0.96.20.4).
              »python-software-properties« ist bereits die neuste Version (0.96.20.4).
              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
               7 Nov 12:02:02 ntpdate[2863]: no server suitable for synchronization found
              Generating locales (this might take a while)...
                en_US.UTF-8... done
              Generation complete.
              Cannot add PPA: 'ppa:~ondrej/ubuntu/php5-5.6'.
              The user named '~ondrej' has no PPA named 'ubuntu/php5-5.6'
              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
               * 'mysql-5.5':  PPA for MySQL 5.5
               * 'mysql-5.6':  PPA for MySQL 5.6
               * 'mysql-5.7':  PPA for MySQL 5.7
               * '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.5, 5.6, 7.0) 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
              

              i revert back to my backup with ubuntu 14 again, @Tom-Elliott can you help me with the php stuff please?

              ║▌║█║▌│║▌║▌█

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Oleg
                last edited by

                @Oleg From the looks of that, you used php_ver=7 not php_ver=‘7.0’ (am I correct?)

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  As the repo has changed, I’ve updated the code base to not try using the php5-5_6 repo anymore. It will delete all ondrej and reinstall the ppa using only php as the repo.

                  Hopefully this will be put to rest then?

                  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
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    This is re-released as RC-20. Please repull/svn up and install and hopefully this will be fixed for you. My testing appears it is working.

                    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

                    O 1 Reply Last reply Reply Quote 1
                    • O
                      Oleg @Tom Elliott
                      last edited by

                      @Tom-Elliott
                      hey the php_ver was 7 and not 7.0 so now it looks like this:

                      php_ver='7.0'
                      php_verAdds='-7.0'
                      

                      and I re-updated, ran the installer and in the error file is this:

                      ...
                      mysql stop/waiting
                      mysql start/running, process 18850
                       * Stopping web server apache2
                       *
                      php7.0-fpm: unrecognized service
                      
                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Oleg
                        last edited by

                        @Oleg Did you remove the packages line from the /opt/fog/.fogsettings file?

                        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

                        O 1 Reply Last reply Reply Quote 1
                        • x23piracyX
                          x23piracy
                          last edited by x23piracy

                          for me the problem is solved, @Tom-Elliott made adjustments regarding to the repo changes from ondrej.
                          thank you Mr. Magic.

                          “as quazz pointed out, ondrej merged the php, php5_5-6, and php7_7.0 repos into one repo”

                          Regards X23

                          ║▌║█║▌│║▌║▌█

                          1 Reply Last reply Reply Quote 0
                          • O
                            Oleg @Tom Elliott
                            last edited by

                            @Tom-Elliott
                            what should I do with them? let them inside or delete?
                            If I delete them, the installer runs until the end but I get this while the installer is running:

                            * Comparing checksums of kernels and inits....................Done
                            PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mbstring.so' - /usr/lib/php/20151012/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
                            PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mbstring.so' - /usr/lib/php/20151012/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
                            

                            after installing php-mbstring this error is gone.

                            After first check I found that the Menu “iPXE Menu Configuration” is for me not available. I get the message on the top:
                            “ID Must be set to edit”
                            0_1478525756795_fog.JPG

                            I removed everything before installing this version, so it’s like a fresh install in my opinion.

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

                              @Oleg It appears to be a bug in RC20, seeing it on Centos 7 too. The FOG menu thingy that is.

                              O 1 Reply Last reply Reply Quote 0
                              • O
                                Oleg @Quazz
                                last edited by Oleg

                                @Quazz @Tom-Elliott
                                should someone open a new thread for this new issue?
                                The problem with the installer.sh is fixed for me too.

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Oleg
                                  last edited by

                                  @Oleg All fixed and repubbed.

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

                                  139

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project