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

    Config.php not being changed

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    7
    3.2k
    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.
    • W
      Wolfbane8653 Developer
      last edited by

      OS: Ubuntu 12.10
      Fog: 0.33b r1441

      When I change the FOG_TFTP_FTP_PASSWORD the file /var/www/fog/commons/config.php does not change. user is part of root. See below. I received this after uploading a new image and got the error of “[SIZE=16px][FONT=Ubuntu][COLOR=#ff0000]FOGFTP: Login failed. Host: 10.0.0.252, Username: fog, Password: <password>, Error: ftp_login(): Login incorrect.”[/COLOR][/FONT][/SIZE]

      I then proceeded to check the password that was listed in the password in the error and that was wrong even for the FOG Encrypted password. I then looked up the location of the FTP password and found that if I change any value in FOG SETTINGS–>FOG_TFTP_FTP_USERNAME; FOG_TFTP_FTP_PASSWORD those changes did not reflect in the config.php file.

      [QUOTE]
      #sudo usermod -G root fog
      #groups
      fog root adm cdrom sudo dip plugdev lpadmin sambashare
      [/QUOTE]

      Any ideas?

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

        It shouldn’t be reflected in the config.php file. The values in config.php are only there for the initial setup procedure of FOG. Otherwise everything is pulled directly from the database.

        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
        • W
          Wolfbane8653 Developer
          last edited by

          ah thank you. I had no idea.

          1 Reply Last reply Reply Quote 0
          • W
            Wolfbane8653 Developer
            last edited by

            So how do I change the FTP password and not the TFTP password since they are listed separately?

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

              unfortunately you cant if the node is a part of the same server.

              However, if the node is separate, you change the “ftp username and password” from the Storage management page.

              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
              • W
                Wolfbane8653 Developer
                last edited by

                nvm…(facepalm)

                [SIZE=12px][FONT=Arial][COLOR=#000000]"FIX: FTP password, on the other hand, is on “storage management” menu " [/COLOR][/FONT][/SIZE]
                [SIZE=12px][FONT=Arial][COLOR=#000000]~[/COLOR][/FONT][/SIZE][FONT=Arial][COLOR=#000000][SIZE=12px][url]http://community.spiceworks.com/how_to/show/51863-ultimate-fog-0-32-server-on-ubuntu-12-10-instructions[/url][/SIZE][/COLOR][/FONT]

                [FONT=Arial][COLOR=#000000][SIZE=12px]I will update when my next upload is complete to verify this.[/SIZE][/COLOR][/FONT]

                1 Reply Last reply Reply Quote 0
                • W
                  Wolfbane8653 Developer
                  last edited by

                  Yes a change of the Credentials in the Storage node fixed the issue.

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

                  255

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project