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

FOGUpdater.sh is not compatible with the latest trunk

Scheduled Pinned Locked Moved Solved
Bug Reports
3
4
1.6k
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.
  • J
    jdmg94
    last edited by jdmg94 Mar 30, 2016, 8:37 PM Mar 31, 2016, 12:34 AM

    Hello again guys!

    On line 10 of the mentioned file above I found the following:

    [[ ! -f ${docroot}${webroot}config.class.php && ! -f ${docroot}${webroot}Config.class.php ]] && handleError "   No config file found" 4
    

    The updater is looking for the config file on /

    but the file in the latest branch is in /lib/fog/

    I changed the lines here and it worked just fine

    Okay maybe it needs some work I’m getting an error now 😕

    1 Reply Last reply Reply Quote 2
    • W
      Wayne Workman
      last edited by Mar 31, 2016, 12:37 AM

      I’m liking this guy already.

      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/

      J 1 Reply Last reply Mar 31, 2016, 1:48 AM Reply Quote 2
      • J
        jdmg94 @Wayne Workman
        last edited by Mar 31, 2016, 1:48 AM

        @Wayne-Workman Just trying to get this working, I have a couple other bugs to report but I’m no longer at my office now, I’ll get to bug-squashing tomorrow morning 🙂

        1 Reply Last reply Reply Quote 2
        • T
          Tom Elliott
          last edited by Apr 2, 2016, 11:35 PM

          The updater script was never compatible with trunk. However, (drum roll please), it is now.

          You will have to update your sources first but all should work.

          Of note, I have a check to see if you’re trying to install trunk. If this flag is not specified it assumes you want the latest stable version. To keep trunk upgraded add trunk='yes' to the /opt/fog/.fogsettings file and you should be all set.

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

          194

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project