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

    Literally cant even run ./installfog.sh -_-

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    5
    577
    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
      tacOS
      last edited by tacOS

      I am beyond confused at this point.

      I’ve git cloned the fog distro to my system. followed instruction (sudo -i | cd /root/fogproject/bin | ./installfog.sh)

      I keep getting told to run “su -” or “sudo -i”, while and after having run one, the other, or BOTH. just the same error over and over.

      “Please switch to a proper root environment to run the installer! Use ‘sudo -i’ or ‘su -’ (skip the ’ and note the hyphen at the end of the su command as it is important to load root’s environment).”

      im lost here.

      Arch linux (EndeavorOS, KDE plasma), everything up to date, everything should be compatible.

      Edit: disregard this post. i went and asked the EndeavorOS community about fixes for this and was told, in this order:

      • try sudo -i and su -
      • try sudo - and su -i
      • make sure you’re in the right directory
      • is sudo installed?

      i then, out of frustration, logged in as root, and ran the commands from root. and was told “ewww your using root!”

      they couldnt get their heads around that it wasnt an EBKAC error, and while im not a super experienced linux user, even i could tell they were grasping at straws trying to explain basic concepts.

      I’ll re-try this with CentOS and let y’all know how it goes.

      Tom ElliottT T 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @tacOS
        last edited by

        @tacOS try:

        cd /root/fogproject/bin
        sudo ./installfog.sh
        

        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

        T 1 Reply Last reply Reply Quote 0
        • T
          tacOS @Tom Elliott
          last edited by

          @Tom-Elliott said in Literally cant even run ./installfog.sh -_-:

          @tacOS try:

          cd /root/fogproject/bin
          sudo ./installfog.sh
          

          “Please switch to a proper root environment to run the installer! Use ‘sudo -i’ or ‘su -’ (skip the ’ and note the hyphen at the end of the su command as it is important to load root’s environment).”

          Same error. 😞

          1 Reply Last reply Reply Quote 0
          • T
            tacOS @tacOS
            last edited by

            @tacOS updated main post, turning off notifications on this post.

            1 Reply Last reply Reply Quote 0
            • J
              jbarron
              last edited by

              @tacOS said in Literally cant even run ./installfog.sh -_-:

              I keep getting told to run “su -” or “sudo -i”, while and after having run one, the other, or BOTH. just the same error over and over.

              It’s a workaround but I managed to continue by editing installfog.sh and deleting the if-fi block that has this message. I think it’s using a very specific way of testing that might not work in every distro ( like the previous block that checks if the user ID is 0 to see if it’s root and it won’t work on distros that randomize the root’s ID). I’m working on Garuda Linux (Arch based), and I’ve hit another wall at the end with TFT but at least it’s installed.

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

              174

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project