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

    Install script errors

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    4
    1.0k
    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.
    • T
      thebrennan47
      last edited by thebrennan47

      Server
      • FOG Version: 1.4.3
      • OS: 16.04 Server LTS
      Client
      • Service Version:
      • OS:
      Description

      I am getting syntax errors when running the latest version of the install fog script.

      Command:

      sudo sh installfog.sh --help

      62 : Syntax error: word unexpected (expecting “in”)

      The following also failed:

      sudo bash installfog.sh --help

      25: syntax error near unexpected token ‘$’{/r’’

      I imagine this script is supposed to be able to run as is? So I am assuming I am just missing something. I wanted to double check before I start tinkering with it

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by Quazz

        Try

        sudo ./installfog.sh --help
        

        Working fine on Centos 7 with FOG 1.4.4

        I’m wondering if Ubuntu updated Bash to be a bit different, hmmm.

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Why are you using .sh, installfog.sh is a bash script. This is where the errors are coming in.

          Try:

          if you must:

          sudo bash installfog.sh --help

          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
          • Wayne WorkmanW
            Wayne Workman @Quazz
            last edited by

            @Quazz said in Install script errors:

            I’m wondering if Ubuntu updated Bash to be a bit different, hmmm.

            They didn’t. The installer is tested on Ubuntu every day, you can see the test results here: http://perpetuum.io:20080/fog_distro_check/installer_dashboard.html

            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/

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            132

            Online

            12.1k

            Users

            17.3k

            Topics

            155.4k

            Posts
            Copyright © 2012-2024 FOG Project