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

Standalone fog server on a laptop umbutu 18.04

Scheduled Pinned Locked Moved
Tutorials
5
19
2.8k
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.
  • Q
    Quazz Moderator @fredlwal
    last edited by Sep 6, 2018, 1:22 PM

    @fredlwal I’m guessing the problem is that install.sh has no shebang line, so the system messes up.

    Just a guess, though.

    sudo bash install.sh
    

    might work?

    T W 2 Replies Last reply Sep 6, 2018, 1:53 PM Reply Quote 0
    • T
      Tom Elliott @Quazz
      last edited by Sep 6, 2018, 1:53 PM

      @Quazz et al.

      Where is this install.sh file coming from? We have installfog.sh which has the #! code 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! 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

      Q 1 Reply Last reply Sep 6, 2018, 2:01 PM Reply Quote 0
      • Q
        Quazz Moderator @Tom Elliott
        last edited by Sep 6, 2018, 2:01 PM

        @Tom-Elliott https://github.com/FOGProject/fog-community-scripts/tree/master/MakeFogMobile

        1 Reply Last reply Reply Quote 1
        • W
          Wayne Workman @Quazz
          last edited by Sep 6, 2018, 2:04 PM

          @Quazz I think when there is not a shebang, the linux terminal interprets it as a bash script. I looked back in the commit history, there has never been a shebang in that script… it’s worked several times. At any rate, I’m going to add 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/

          Q T 2 Replies Last reply Sep 6, 2018, 2:06 PM Reply Quote 1
          • Q
            Quazz Moderator @Wayne Workman
            last edited by Quazz Sep 6, 2018, 8:07 AM Sep 6, 2018, 2:06 PM

            @Wayne-Workman Theoretically it will use the current shell to try and execute it, yes.

            But unexpected newline is typical of a wrong interpretator in my experience.

            1 Reply Last reply Reply Quote 1
            • F
              fredlwal
              last edited by Sep 6, 2018, 5:20 PM

              @Quazz @Wayne-Workman @Sebastian-Roth

              So I downloaded the updated install.sh and here is what I get.

              https://photos.app.goo.gl/ZsxvwtsY2AU9AyY67

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sep 6, 2018, 5:23 PM

                @fredlwal How did you download that script file? See the error means you downloaded a HTML file. Maybe this link will help you: https://github.com/FOGProject/fog-community-scripts/raw/master/MakeFogMobile/install.sh and https://github.com/FOGProject/fog-community-scripts/raw/master/MakeFogMobile/MainScript.sh

                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

                F 1 Reply Last reply Sep 6, 2018, 5:40 PM Reply Quote 1
                • T
                  Tom Elliott @Wayne Workman
                  last edited by Sep 6, 2018, 5:27 PM

                  @Wayne-Workman while most distros tend to default the shell to /bin/bash, Ubuntu and Debian default to /bin/ash which is not the same as bash.

                  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 1
                  • F
                    fredlwal @Sebastian Roth
                    last edited by Sep 6, 2018, 5:40 PM

                    @Sebastian-Roth I just right clicked and did a save as link all files with the .sh ext.

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman
                      last edited by Sep 6, 2018, 6:47 PM

                      I put in a shebang. It should work now, please re-download the install file.

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

                      143

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project