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

    Error while installing FOG on Ubuntu 18.04

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    8
    1.1k
    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
      andreiv
      last edited by

      I found info on how to solve the libcurl issue here on the forum but now, almost near the end, It stops with another error:

      Press [Enter] key when database is updated/installed.
      
      Setting up storage…OK
      Setting up and starting DHCP Server…/lib/common/functions.sh: line 169: Error:: syntax error in expression (error token is “:”)
      …/lib/common/functions.sh: line 271: let: octet4+=: syntax error: operand expected (error token is “+=”)
      Failed!
      
      1 Reply Last reply Reply Quote 0
      • A
        andreiv
        last edited by

        Problem solved. Looks like the libcurl error caused this also. I did a fresh install and modified the reference to libcurl3 before starting the install and all went well.

        R 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          For future readers, this is already fixed in the up-coming 1.5.3 release.

          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
          • R
            Rhywden @andreiv
            last edited by Rhywden

            @andreiv Erm, something seems to have broken it again in 1.5.5

            This happens at the beginning where I enter the needed configuration data:

            What network interface would you like to use? enp6s0
            ../lib/common/functions.sh: Zeile 149: /8: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist »/8«).
            
            Would you like to setup a router address for the DHCP server? [Y/n]
            

            And this then happens at the end:

            * Setting up and starting DHCP Server.........................../lib/common/functions.sh: Zeile 169: Error:: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist »:«).
            ../lib/common/functions.sh: Zeile 271: let: octet4+=: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist »+=«).
            Failed!
            
            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Rhywden
              last edited by

              @Rhywden What OS and version are you running?

              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/

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

                @Rhywden said in Error while installing FOG on Ubuntu 18.04:

                enp6s0

                Do you have an IP configured on that interface enp6s0 before running the installer?? FOG does not do this for you! IP needs to be set beforehand.

                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
                • R
                  Rhywden @Wayne Workman
                  last edited by Rhywden

                  @Wayne-Workman said in Error while installing FOG on Ubuntu 18.04:

                  @Rhywden What OS and version are you running?

                  I tried it on both Debian 8 and Ubuntu 18.04

                  @Sebastian-Roth said in Error while installing FOG on Ubuntu 18.04:

                  @Rhywden said in Error while installing FOG on Ubuntu 18.04:

                  enp6s0

                  Do you have an IP configured on that interface enp6s0 before running the installer?? FOG does not do this for you! IP needs to be set beforehand.

                  Yes. Statically set to a valid IP address.

                  Basically I want to set it up thus that it’s able to connect to an existing network over Wifi (i.e. not this interface) while the enp6s0 interface is connected to a switch I’m then connecting the laptops to I want to image. Which also means that DHCP to anything other than enp6s0 is strictly verboten.

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

                    @Rhywden said in Error while installing FOG on Ubuntu 18.04:

                    I tried it on both Debian 8 and Ubuntu 18.04

                    We have automatic daily installer test running and there is no general issue with Debian or Ubuntu I can assure you.

                    Make sure that interface is up and has an IP! Run ip a s before running the installer and post output here.

                    Basically I want to set it up thus that it’s able to connect to an existing network over Wifi.

                    Ok then you need to configure both interfaces. First WLAN, get an IP and make sure you have internet access through that (ping -c ix.de). Then configure enp6s0 with a static IP and make sure the interface is UP!

                    ip a s
                    …
                    2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
                    …

                    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

                    249

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project