• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.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.
  • S
    Sebastian Roth Moderator
    last edited by May 3, 2021, 8:20 PM

    @Tom-Elliott Are you sure? This has not been working in Ubuntu since a long time then. Last in 16.04 I think. What is the best way to test this?

    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

    T 1 Reply Last reply May 3, 2021, 10:04 PM Reply Quote 0
    • T
      Tom Elliott @Sebastian Roth
      last edited by May 3, 2021, 10:04 PM

      @sebastian-roth https://www.php.net/manual/en/book.gettext.php

      Absolutely.

      Of note, we would need the language files and binary of them for the text to reflect in the UI. Of course there may be something wrong with the implementation which I’ll admit I’m not very good 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! 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

      T 1 Reply Last reply May 4, 2021, 3:50 PM Reply Quote 0
      • T
        Tom Elliott @Tom Elliott
        last edited by May 4, 2021, 3:50 PM

        @Fog_Newb @Sebastian-Roth I have updated the dev-branch and working-1.6 to what I hope should do better translation.

        @Fog_Newb I will need some time to create an ubuntu 21.04 to find out about the gettext installation error.

        Thank you for the report and information.

        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

        F 1 Reply Last reply May 5, 2021, 2:26 PM Reply Quote 0
        • F
          Fog_Newb @Tom Elliott
          last edited by May 5, 2021, 2:26 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott @Fog_Newb
            last edited by Tom Elliott May 5, 2021, 10:15 AM May 5, 2021, 4:06 PM

            @fog_newb This should be fixed in the latest.

            Issue is ubuntu 21.04 is using php{ver}-common for php-gettext where in the past it was its own package. I updated the code to check for php{ver}-gettext which showed it as part of php{ver}-common and the install went through properly. Going to double check language packs download properly too.

            Got the language-packs to install properly too.

            Thank you,

            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

            F 1 Reply Last reply May 5, 2021, 5:35 PM Reply Quote 0
            • F
              Fog_Newb @Tom Elliott
              last edited by May 5, 2021, 5:35 PM

              @tom-elliott

              I tried the latest dev branch 1.5.9.85 and the same problem occurredfog_error_1.5.9.85.log .

              T 1 Reply Last reply May 5, 2021, 5:41 PM Reply Quote 0
              • T
                Tom Elliott @Fog_Newb
                last edited by Tom Elliott May 5, 2021, 11:42 AM May 5, 2021, 5:41 PM

                @fog_newb Please try again? After updating of course.

                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

                F 1 Reply Last reply May 5, 2021, 5:47 PM Reply Quote 0
                • F
                  Fog_Newb @Tom Elliott
                  last edited by May 5, 2021, 5:47 PM

                  @tom-elliott

                  The 1.5.9.86 install completed.

                  • Skipping package: php7.4-gettext…(Does not exist)

                  fog_error_1.5.9.86.log

                  T 1 Reply Last reply May 5, 2021, 5:50 PM Reply Quote 0
                  • T
                    Tom Elliott @Fog_Newb
                    last edited by May 5, 2021, 5:50 PM

                    @fog_newb Yes, that’s the expected part.

                    Because php-gettext is now part of the php7.4-common package, there’s not really a need to include it as part of the packages line.

                    You should be good to go now.

                    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

                    F 1 Reply Last reply May 5, 2021, 5:52 PM Reply Quote 0
                    • F
                      Fog_Newb @Tom Elliott
                      last edited by May 5, 2021, 5:52 PM

                      @tom-elliott

                      Thank you

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth May 5, 2021, 1:28 PM May 5, 2021, 7:28 PM

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

                        Issue is ubuntu 21.04 is using php{ver}-common for php-gettext where in the past it was its own package.

                        When I was looking at this I got the impression the new package is named php-php-gettext (see package repo).

                        When searching for php-gettext in general (link to search) I find this:

                        bionic (18.04LTS) (web): transitional dummy package for php-php-gettext [universe]
                        1.0.12-0.1: all

                        You are absolutely right, the PHP gettext module is now part of php7.4-common but the mentioned php-php-gettext provides some helper PHP/INC files - not sure if we need those.

                        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

                        T 1 Reply Last reply May 5, 2021, 7:31 PM Reply Quote 0
                        • T
                          Tom Elliott @Sebastian Roth
                          last edited by May 5, 2021, 7:31 PM

                          @sebastian-roth in my testing language translation worked properly using the common provided 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
                          • S
                            Sebastian Roth Moderator
                            last edited by May 5, 2021, 7:40 PM

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

                            in my testing language translation worked properly using the common provided version

                            Then it’s all fine. Good that we don’t need that extra package anymore! 🙂

                            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
                            • S
                              shodan
                              last edited by Sep 15, 2022, 9:11 AM

                              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 Sep 15, 2022, 1:10 PM Sep 15, 2022, 7:10 PM

                                @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 Sep 16, 2022, 6:21 AM Reply Quote 0
                                • S
                                  shodan @Sebastian Roth
                                  last edited by Sep 16, 2022, 6:21 AM

                                  @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 Oct 27, 2022, 10:32 PM

                                    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 Oct 27, 2022, 10:41 PM Reply Quote 0
                                    • K
                                      kibade @kibade
                                      last edited by Oct 27, 2022, 10:41 PM

                                      @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 Oct 27, 2022, 11:54 PM Reply Quote 0
                                      • F
                                        Fog_Newb @kibade
                                        last edited by Fog_Newb Oct 27, 2022, 5:56 PM Oct 27, 2022, 11:54 PM

                                        @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

                                        149

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project