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

    Problem updating to 1.5.10

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    4
    551
    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.
    • P
      pep
      last edited by Sebastian Roth

      "I had a problem when updating to 1.5.10. The update process went well until it requested to update the database, then the website was unresponsive while the Apache server was running. I observed the following error in the httpd logs (ssl_error_log):

      [php7:error] [pid 31427] [client “ip”:60433] PHP Parse error: syntax error, unexpected ‘)’ in /var/www/html/fog/lib/plugins/location/pages/locationmanagementpage.class.php on line 170

      I removed the comma from line 169, after the $protocol variable in the locationmanagementpage.class.php file, and then the update process completed successfully. I’m currently testing image deployment and it seems to be working. What happened is that all default services like ‘power manager’, ‘printer manager’, ‘snapins’, etc. were disabled on the computers, and I can enable them one by one. Once enabled, the computers were successfully added to the domain, but I still can’t send snapins; the fog.txt file shows an error that it can’t download the file. I’ve decided to roll back the update and investigate further. I’ll try to document it better, but it seems like a problem with the location plugin."

      php 7.2.34
      centos 7.9

      pd: I edit, it’s not downloading the snapin because the “http” is missing in the link. I assume it’s due to the variable $protocol that I modified on line 169

      1 Reply Last reply Reply Quote 0
      • S Sebastian Roth moved this topic from FOG Problems on
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @pep On first sight this sounds like this is a last minute bug introduced when trying to fix a location snapin issue (commit b33e4d9).

        Will work on fixing that in dev-branch soon!

        I edit, it’s not downloading the snapin because the “http” is missing in the link. I assume it’s due to the variable $protocol that I modified on line 169

        Too bad, probably because there is no default set on upgraded installs. ARGH

        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

        P 1 Reply Last reply Reply Quote 0
        • P
          pep @Sebastian Roth
          last edited by

          @Sebastian-Roth ok, thanks

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

            @pep Finally found some time to properly document this issue on github.

            Update issue: https://github.com/FOGProject/fogproject/issues/561
            Snapin issue: https://github.com/FOGProject/fogproject/issues/562

            Both should be fixed in latest dev-banch. The later still needs some good testing. I just did a very basic test to make sure the default schema is being applied.

            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
            • [[undefined-on, S Sebastian Roth, ]]
            • 1 / 1
            • First post
              Last post

            262

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project