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

Debian install failed

Scheduled Pinned Locked Moved
FOG Problems
5
8
1.5k
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.
  • Z
    zyssai
    last edited by zyssai Mar 6, 2022, 1:35 PM Mar 6, 2022, 7:35 PM

    Hi!

    Just discovered Fog few days ago, I tried to install it following the wiki page.
    I am facing this issue

    alt text

    I noticed that php-gettext cannot be installed so I installed php-php-gettext manually as it seems to be the replacement package.
    Then I restarted install script with -X
    I ended with

    PHP Failed to install properly
    Could not find /etc/php//fpm/php.ini!
    

    Any help appreciated

    M 1 Reply Last reply Mar 7, 2022, 2:09 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Mar 6, 2022, 9:55 PM

      @zyssai Which Linux OS and version are you trying to install FOG on? As well I am wondering which version of FOG you used?

      Please post the wiki article you followed.

      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

      Z 1 Reply Last reply Mar 7, 2022, 6:21 AM Reply Quote 0
      • Z
        zyssai @Sebastian Roth
        last edited by Mar 7, 2022, 6:21 AM

        @sebastian-roth I followed this page to install fog 1.5.9 over Debian 11 Stable

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Mar 7, 2022, 11:04 AM

          @zyssai FOG 1.5.9 was releases way before Debian 11 came out. Currently you need to use the so called dev-branch version which is pretty stable at the moment.

          sudo -i
          apt update
          apt install git
          git clone https://github.com/FOGproject/fogproject/
          cd fogproject
          git checkout dev-branch
          cd bin
          ./installfog.sh
          

          As soon as the next version is being released (currently in preperation) you can switch back to the official release version with very little effort.

          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

          Z 1 Reply Last reply Mar 7, 2022, 12:42 PM Reply Quote 0
          • Z
            zyssai @Sebastian Roth
            last edited by Mar 7, 2022, 12:42 PM

            @sebastian-roth it worked perfectly, thanks for the help!

            1 Reply Last reply Reply Quote 0
            • M
              MikeC @zyssai
              last edited by Mar 7, 2022, 2:09 PM

              Just recently set this up, in case anyone runs into this issue before the next release, without flipping to dev branch you just need to edit /lib/ubuntu/config.sh and add an entry for 11) since it stops at 10) ( as Sebastian mentions, this OS is newer than the release )

               11)
                          php_ver="7.4"
                          x="*php5* *php7.0*"
                          ;;
              

              I also removed the reference to the package php-gettext as I read it was no longer required with PHP7.

              1 Reply Last reply Reply Quote 0
              • L
                lacugo
                last edited by Aug 4, 2022, 10:08 PM

                I tried to install on Debian 11, CentOS 7 and 8 but to no avail.

                So I went to Ubuntu 22 and it wasn’t easy either, but in the installation process the script forces the installation of PHP 7.1 while the available version is 8. So I enabled the PHP 7.4 package on Ubuntu and changed the installation script to force installation of PHP 7.4. 😁 ✌

                G 1 Reply Last reply Aug 5, 2022, 12:53 AM Reply Quote 0
                • G
                  george1421 Moderator @lacugo
                  last edited by Aug 5, 2022, 12:53 AM

                  @lacugo If you switch over to the FOG 1.5.9 dev branch (a.k.a FOG 1.5.9.115) it will install cleanly on Debian 11. But sadly not ubuntu 22.04 or centos 8 where php8 is the default install. AS of now FOG only supports PHP7.x until some code refactoring is done.

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

                  165

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.4k

                  Posts
                  Copyright © 2012-2024 FOG Project