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

Upgrade to debian 9

Scheduled Pinned Locked Moved Solved
Linux Problems
5
30
7.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.
  • C
    ch3i Moderator @plegrand
    last edited by Aug 25, 2017, 2:54 PM

    @plegrand said in Upgrade to debian 9:

    repo=“php-${php_ver}”

    I use the latest RC, and I’ve not the repo=“php-${php_ver}”

    Can you check the packages config ? have you ?
    packages=‘apache2 bc build-essential cpp curl g++ gcc gzip htmldoc lftp libapache2-mod-php5 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php5 php5-cli php5-curl php5-fpm php5-gd php5-json php5-mcrypt php5-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g’

    In my case I have php5 packages…

    1 Reply Last reply Reply Quote 0
    • P
      plegrand
      last edited by Aug 25, 2017, 4:36 PM

      This is exactly that i wanted to ask :
      Do i have to modify manually this line then remove php5 packages and replace by php7.0 package .

      https://wiki.fogproject.org/wiki/index.php?title=.fogsettings#packages

      i will try on Monday and will report here the result

      W 1 Reply Last reply Aug 25, 2017, 9:32 PM Reply Quote 0
      • W
        Wayne Workman @plegrand
        last edited by Wayne Workman Aug 25, 2017, 3:36 PM Aug 25, 2017, 9:32 PM

        @plegrand Debian 9 would have to use the php 7 packages. I can assure you that the installer works on a clean installation of Debian 9, but I’ve not tested an upgrade from older Debian 8. If you look in my signature, you’ll see some automated tests centered around the fog installer. All those tests are with 100% clean OSs/installs.

        In the past, people who have upgraded their OSs on FOG servers have had mixed success. When it goes right, everything is just peachy. When it goes wrong we spend days - sometimes weeks - helping these people figure out the problems. I’d say it’s been about a 60/40 split, 40 being failure.

        If you want to avoid the risks of upgrading, this is an article outlining step-by-step how to migrate: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        P 1 Reply Last reply Aug 26, 2017, 3:32 PM Reply Quote 0
        • P
          plegrand @Wayne Workman
          last edited by Aug 26, 2017, 3:32 PM

          @wayne-workman may be could you give me a copy of the .fogsettings file from a fresh install on Debian 9 ?
          Thanks

          W 1 Reply Last reply Aug 26, 2017, 3:33 PM Reply Quote 0
          • W
            Wayne Workman @plegrand
            last edited by Aug 26, 2017, 3:33 PM

            @plegrand yeah one second.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            P 1 Reply Last reply Aug 26, 2017, 3:33 PM Reply Quote 0
            • P
              plegrand @Wayne Workman
              last edited by Aug 26, 2017, 3:33 PM

              @wayne-workman and could you tell me what version of Fog you use ?

              W 1 Reply Last reply Aug 26, 2017, 3:35 PM Reply Quote 0
              • W
                Wayne Workman @plegrand
                last edited by Aug 26, 2017, 3:35 PM

                @plegrand said in Upgrade to debian 9:

                @wayne-workman and could you tell me what version of Fog you use ?

                I use all of them (see my signature).

                Here’s a copy of the /opt/fog/.fogsettings file from a Debian9 box that had a clean install of 1.4.4 last night.

                ## Start of FOG Settings
                ## Created by the FOG Installer
                ## Find more information about this file in the FOG Project wiki:
                ##     https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
                ## Version: 1.4.4
                ## Install time: Sat 26 Aug 2017 04:08:09 AM CDT
                ipaddress='10.0.0.39'
                copybackold='0'
                interface='ens3'
                submask='255.255.255.0'
                routeraddress='10.0.0.1'
                plainrouter='10.0.0.1'
                dnsaddress='208.67.222.222'
                username='fog'
                password='qAW1Q5ednQ3LS0ywmMMn9woirwwcMHu/7S9ZbJE7lvY='
                osid='2'
                osname='Debian'
                dodhcp='N'
                bldhcp='0'
                dhcpd=''
                blexports='1'
                installtype='N'
                snmysqluser='root'
                snmysqlpass=''
                snmysqlhost='localhost'
                installlang='0'
                storageLocation='/images'
                fogupdateloaded=1
                docroot='/var/www/'
                webroot='/fog/'
                caCreated='yes'
                startrange=''
                endrange=''
                bootfilename='undionly.kpxe'
                packages='apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.0 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.0 php7.0-bcmath php7.0-cli php7.0-curl php7.0-fpm php7.0-gd php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g '
                noTftpBuild=''
                notpxedefaultfile=''
                sslpath='/opt/fog/snapins/ssl/'
                backupPath='/home/'
                php_ver='7.0'
                php_verAdds='-7.0'
                sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'
                ## End of FOG Settings
                

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                P 1 Reply Last reply Aug 26, 2017, 3:38 PM Reply Quote 0
                • P
                  plegrand @Wayne Workman
                  last edited by Aug 26, 2017, 3:38 PM

                  @wayne-workman Hmm strange. Why my file (from 1.4.4 version) keep php5 packages instead of php7
                  Anyway i will try with this file monday.
                  Thanks for your help

                  W 1 Reply Last reply Aug 26, 2017, 3:39 PM Reply Quote 0
                  • W
                    Wayne Workman @plegrand
                    last edited by Aug 26, 2017, 3:39 PM

                    @plegrand said in Upgrade to debian 9:

                    Why my file (from 1.4.4 version) keep php5 packages instead of php7

                    You can just change it from 5 to 7 and the installer will install the new stuff I think.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    P 1 Reply Last reply Aug 26, 2017, 3:39 PM Reply Quote 0
                    • P
                      plegrand @Wayne Workman
                      last edited by Aug 26, 2017, 3:39 PM

                      @wayne-workman i will do that

                      W 1 Reply Last reply Aug 26, 2017, 3:40 PM Reply Quote 0
                      • W
                        Wayne Workman @plegrand
                        last edited by Aug 26, 2017, 3:40 PM

                        @plegrand You’ll also need to empty out the packages line - since that stuff has php5 in it.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        P 2 Replies Last reply Aug 26, 2017, 3:40 PM Reply Quote 0
                        • P
                          plegrand @Wayne Workman
                          last edited by Aug 26, 2017, 3:40 PM

                          @wayne-workman sure. i will use your line

                          1 Reply Last reply Reply Quote 0
                          • P
                            plegrand @Wayne Workman
                            last edited by Aug 28, 2017, 7:25 AM

                            @wayne-workman i used " your packages line" and it seems to work.
                            Then now i have to test pxe boot, capture and deploy !!

                            THanks for your help

                            1 Reply Last reply Reply Quote 2
                            • P
                              plegrand
                              last edited by Aug 29, 2017, 9:26 AM

                              Boot PXE OK
                              Capture OK
                              Deploy OK

                              1 Reply Last reply Reply Quote 1
                              • S
                                Sebastian Roth Moderator
                                last edited by Aug 29, 2017, 10:32 AM

                                @plegrand Thanks for reporting back on this. Marked as solved.

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

                                162

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project