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

    Can't get image uploaded

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    12
    902
    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
      amc123 @Sebastian Roth
      last edited by

      I changed the username to match up everywhere and set write rights.

      Latest version of everything, FEdora server and Fog.

      Just reinstalled fog with fogproject and password set in settings file and changed in storage node and tftp. Same error. Creates image on /dev with mac address, but can’t get it copied over at the end.

      george1421G 1 Reply Last reply Reply Quote 0
      • A
        amc123
        last edited by

        php log file error:

        Screen Shot 2019-12-03 at 11.13.32 AM.png

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @amc123
          last edited by

          @amc123 There may be some value in having you run through this tutorial: https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

          Just to make sure all of the passwords are in a sane state.

          Also you should test to see if you can log into your fog server using a microsoft windows ftp client. Login using fogproject and the password found in the .fogsettings file. If you can do that and the permissions are set correctly on the /images director it should work.

          here is a test script to confirm if the directory permissions are right.,

          Login using the ftp client to the fog server. Once logged in using ftp key in

          cd /images
          mkdir test
          

          if the test directory is created in /images then the permissions are right, finish by cleaning up

          rmdir test
          exit
          

          It may be quit instead of exit. I don’t remember which.

          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!

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

            @amc123 Run chown -R fogproject:fogproject /images (as root) on your FOG server. That might help.

            If it doesn’t solve the problem I may ask you to run the following commands and post output here:

            getenforce
            ls -alR /images
            

            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
            • A
              amc123
              last edited by

              using winscp

              sftp to ip address of fog server, port 22 error is recieved too large sftp packet.
              plain ftp, no encryption, port 21: connection failed, OOPS, TCP_wrappers is set to yes, but no tcp wrapper support compiled in.

              Opening browser brings up nothing.

              Getenforce: permissive

              systemctl status vsftpd.service:
              Green Active (running)

              A 1 Reply Last reply Reply Quote 0
              • A
                amc123 @amc123
                last edited by

                Password is password, if that matters.

                A 1 Reply Last reply Reply Quote 0
                • A
                  amc123 @amc123
                  last edited by

                  [02-Dec-2019 20:50:32 UTC] PHP Notice: FTP connection failed in /var/www/html/fog/lib/fog/fogftp.class.php on line 219

                  error message changed in log file

                  did the tutorial to sync up the passwords and chown fogproject

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

                    @amc123 said in Can't get image uploaded:

                    connection failed, OOPS, TCP_wrappers is set to yes, but no tcp wrapper support compiled in.

                    Ahh right, forgot about this issue i Fedora 30, sorry. Edit /etc/vsftpd/vsftpd.conf and set the line tcp_wrappers=no. After that run systemctl restart vsftpd.service.

                    Password is password, if that matters

                    That should NOT be the case unless you have messed with the fogproject account. This is a service account and you are not meant to mess with it!!! Take a look at /opt/fog/.fogsettings file to see what password the account should have (line password=).

                    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

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      amc123 @Sebastian Roth
                      last edited by

                      @Sebastian-Roth

                      I messed with the password to set it in all places. Would you recommend starting all over with a fresh install from git?

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

                        @amc123 If this is a relatively fresh install of FOG I’d start from scratch (really by re-installing the OS).

                        Then use the latest version from github dev-branch which has the fix for VSFTPd on Fedora 30 already.

                        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

                        180

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project