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

    Fail upload image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    12
    1.9k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @abado Let’s start with some basic questions:

      • Which version of FOG did you install?
      • Is this your first try or did you have this running at some point in the past 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
      • A
        abado
        last edited by

        Hello Sebastian,
        I use version 1.4.4
        The problem happened for the first time

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

          @abado said in Fail upload image:

          The problem happened for the first time

          How long has the server been running? I mean have you been using FOG for some time and the problem just turned up or is this a fresh install?

          Please run ls -al /home/fog and post output/picture here.

          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
            abado
            last edited by

            It was running normally about 4 months, upload and download image. The directory /home/fog dont exist, but from installation until the time of the error, was running even without this directory.
            0_1515070667246_6bc21722-01a4-4a9b-bb2f-03bbac628da7-image.png

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

              @abado Why does /home/fog not exist? The FOG installer creates a user account called fog which has this as home directory (by default). Please run grep fog /etc/passwd and post here.

              It was running normally about 4 months, upload and download image.

              Then what changed? Don’t say “nothing”! Is this Ubuntu or different Linux distro? Maybe you did some system upgrades and it broke or installed other software?!

              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
                abado
                last edited by

                I use the Oracle Linux 6.9 distro. The only change was creating another user on my server, but I did not change or delete the home the fog user
                0_1515079517579_afa89ed9-6d4e-4dc4-9845-b6239e775bf5-image.png

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

                  @abado I’d try creating the directory and see if the problem goes away.

                  mkdir /home/fog
                  chmod 755 /home/fog
                  chown fog:fog /home/fog
                  

                  Maybe there is still some other FTP issue but creating the home dir doesn’t hurt I’d say.

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

                    After executing the passed commands, the error message became the following:
                    0_1515086004771_f0ef41f2-27d9-45a6-95c9-1d26da006d7b-image.png

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

                      @abado So there was something else too… Take a look at our wiki: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

                      Why has the initial post been deleted?

                      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
                        abado
                        last edited by

                        @sebastian-roth said in Fail upload image:

                        Why has the initial post been deleted?

                        I ended up repeating the post twice, so I deleted one of them. I ended up repeating the post twice, so delete one of them. I’ll look at wiki, then post the result here

                        1 Reply Last reply Reply Quote 0
                        • A
                          abado
                          last edited by

                          After creating the /home/fog directory, run the mkdir /home/fog
                          chmod 755 /home/fog
                          chown fog: fog /home/fog
                          and fix the FTP passwords, everything went back online.
                          Thanks Sebastian

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

                          117

                          Online

                          12.2k

                          Users

                          17.4k

                          Topics

                          155.5k

                          Posts
                          Copyright © 2012-2024 FOG Project