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

    Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    26
    14.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.
    • S
      shodan
      last edited by

      Hello,
      This is the most relevant topic that came up in the search, so I’m posting here instead of creating a new one.

      I’m trying to install fogproject on proxmox in an LXC container, currently running ubuntu 22.04.1 LTS

      The installation fails due to missing package php-gettext as per below screenshot

      a3603717-7b33-4ed8-8f40-0fe756f747b6-image.png

      And here’s the end of the installer log file

      4d3afd6b-dc3a-4627-aa50-536049d011de-image.png

      So, I will try installing php-gettext manually and if that fails I’ll be deleting this container and retrying with plain debian instead.

      I found a package called php-php-gettext, I installed that but to no effect on the installer script

      3d3a48cf-4e37-4487-88c4-68f28924fd7e-image.png

      A bit later …

      I accidentally hit shutdown on my entire proxmox computer instead of just broken fog container oops

      Ok, well back in business now with an LXC container running latest debian, freshly updated and upgraded and …

      2eb5ea25-f45f-433c-bdb1-6d6d7240ddb7-image.png

      Oh, well, something is wrong here …

      But it’s also 5AM so that’s it for now …

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

        @shodan You tried to use FOG version 1.5.9 as far as I an see. Go ahead and try again using the latest dev-branch…

        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

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

          @sebastian-roth
          Hello,

          I switch to Debian instead of Ubuntu, got the same error

          Switched to using the github version

          Now it fails on a new, other error (nfs service missing)

          I suggest leaving a note in
          https://fogproject.org/download
          about using this for debian 11 / ubuntu 22 users and whoever else this might apply

          git clone https://github.com/FOGproject/fogproject/
          git checkout dev-branch
          

          I will create a distinct thread for the NFS issue so that people on the same path as me can find this solution quicker

          1 Reply Last reply Reply Quote 0
          • K
            kibade
            last edited by

            Is this bug still open? I just installed Debian Bullseye and fog 1.5.9 and I get this when installing fog:
            “* Installing package: php-gettext…Failed! (Will try later)”

            I see the correct package is php-php-gettext

            How do I get the install to pick the correct package?

            Thanks,

            K 1 Reply Last reply Reply Quote 0
            • K
              kibade @kibade
              last edited by

              @kibade I did the editing of the lib/ubuntu/config.sh, posted on the forum as a fix, seemed to work, but I have a new fail with “Failed to stop php-fpm.service: Unit php-fpm.service not loaded.” However, the service is called “php7.4-fpm.service”

              I look to see if anyone has solved this here.

              F 1 Reply Last reply Reply Quote 0
              • F
                Fog_Newb @kibade
                last edited by Fog_Newb

                @kibade

                My memory I really bad but IIRC I ended up having to upgrade to Ubuntu I was on 20.04 at the time

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

                158

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project