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

    Fedora 21 version 1.2 to 1.5.4 version update fails

    Scheduled Pinned Locked Moved
    FOG Problems
    fedora php apache fedora21 update
    2
    12
    1.7k
    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.
    • A
      andy.king
      last edited by

      HI all sorry for the repeat of topic ( i suspect this has been answered for others OS’s ) but I haven’t seemed to be able to a solution that worked for fedora 21.

      When upgrading i seem to get stuck on the Stopping web service … failed and also fails setting up apache and php

      • When I manually install all the bits are there already , Apache, php, Mysql and all up to date.
      • I have stopped, started, enable, disabled and restarted php, apache etc and run the installer again.

      Not sure where to go from here.

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

        @andy-king Please check out the error_logs in the install (bin) directory. Post part’s of the logs that might give us a hint on what’s wrong.

        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
        • A
          andy.king
          last edited by

          :Update sorry for the delay - had a nose through the log file myself to see if anything there were some missing packages which i have managed to install manually (the php ones mainly) . though it still cant seem to install remi-relase-21 nor can it find it ? install completes ok but now getting

          "Warning: main(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /var/www/html/fog/commons/text.php on line 22

          Fatal error: Call to undefined function _() in /var/www/html/fog/commons/text.php on line 22"

          when i look on line 22 its doesnt seem to have a reference to any timezone it’s a something to do with translation ?

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

            @andy-king said in Fedora 21 version 1.2 to 1.5.4 version update fails:

            Fatal error: Call to undefined function _() in ...

            I am very certain that you are still running an older version of PHP. Please run rpm -qa | grep -e php -e remi-release and post output here.

            How did you try to install remi-release-21? I guess this is the key to your issue. Commands used? Error messages?

            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

            A 1 Reply Last reply Reply Quote 0
            • A
              andy.king @Sebastian Roth
              last edited by

              @Sebastian-Roth
              THanks for the quick response

              php-fpm-5.6.15-1.fc21.x86_64
              php-5.6.15-1.fc21.x86_64
              php-pdo-5.6.15-1.fc21.x86_64
              php-gd-5.6.15-1.fc21.x86_64
              php-common-5.6.15-1.fc21.x86_64
              php-bcmath-5.6.15-1.fc21.x86_64
              php-cli-5.6.15-1.fc21.x86_64
              php-mysqlnd-5.6.15-1.fc21.x86_64
              php-pecl-jsonc-1.3.9-1.fc21.x86_64

              tried to install remi-release-21 with yum yum install remi-release-21
              just says no package available

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

                @andy-king Ahh, now I see. I somehow missed you are using Fedora 21 (!!!) which is out of support since years. Why do you still use it?

                Usually the FOG installer is doing all that for you but it fails for Fedora versions older than Fedora 25 as files have been moved on the Fedora servers. I guess you can still install REMI repo or even PHP 7.0 on Fedora 21 by hand (see here https://rpms.remirepo.net/archives/fedora/21/php70/x86_64/repoview/) but I am wondering why you wanna do that.

                I’d advise you to setup a new fresh install with the latest Fedora release and install FOG 1.5.4 there. We have a wiki article that should help you migrate all your images and settings from the old server to the new one. https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

                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
                • A
                  andy.king
                  last edited by

                  HI Sebastian thanks for the reply,

                  Fog has been good as gold for a while - only issue we have is we are now seeing more pcs with m.2 ssd drives which fog 1.2.0 doesn’t seem to like (running kernal 4.1 i think) hence the need to upgrade. Was just looking for a quick win.

                  Fedora 21 was used simply because it was the only os i managed to get fog working correctly on. But open to any recommendations for any linux flavour as long as there are some guides on how to build; i am a windows guy so linux is a 2nd language for me.

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

                    @andy-king Not sure what to propose here. I do understand that you are looking for a quick win. It’s up to you but I don’t think keeping up a dated OS is a good choice.

                    I guess you are stuck with a halfway updated FOG installation now, right? I guess the easiest you can try is add the REMI repo by hand. Create a new file called /etc/yum.repos.d/remi.repo and paste the following text into it:

                    [remi]
                    name=Remi's RPM repository for Fedora $releasever - $basearch
                    #baseurl=http://rpms.remirepo.net/fedora/$releasever/remi/$basearch/
                    mirrorlist=http://cdn.remirepo.net/fedora/$releasever/remi/mirror
                    enabled=1
                    gpgcheck=1
                    failovermethod=priority
                    gpgkey=http://rpms.remirepo.net/RPM-GPG-KEY-remi-$releasever
                    

                    Then run yum update and if you don’t get any errors you can run the FOG 1.5.4 installer again. Keeping my fingers crossed.

                    But I highly encourage you to setup a fresh sever soon!!

                    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

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      andy.king @Sebastian Roth
                      last edited by

                      @Sebastian-Roth

                      THanks for your help, but no joy.
                      Looks like i’m building a new version !
                      Any recommendations for OS or comprehensive guides ?

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

                        @andy-king Maybe I can help you fix this up in a teamviewer session just so you are up and running again and don’t need to build up a new one under pressure? Around 4 PM UTC/CUT?! Just contact me via chat here in the forums.

                        Give CentOS 7 a try I would say: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

                        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

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          andy.king @Sebastian Roth
                          last edited by

                          @Sebastian-Roth

                          Sorry Sebastian bin involved in something else - i’ve have more than one fog image i can boot back up without a loss so no real hard done. Will start to build the centos image on a vm and see how well it performs. I would like to oput the large image files on an iscsi device do you think that is possible?

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

                            @andy-king said in Fedora 21 version 1.2 to 1.5.4 version update fails:

                            I would like to oput the large image files on an iscsi device do you think that is possible?

                            Sure, mount that iSCSI device on your FOG server, move the existing directory structure in /images to the mounted iSCSI device (unmount the old disk/partition in case it was seperate), remount the iSCSI under /images and off you go without much headache.

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

                            189

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project