Fail upload image
-
Hello!
When attempting to upload an image, after completing the upload, the moment it is being uploaded to the / images directory the following error is displayed. Can someone help me? -
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 -
@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?
-
Hello Sebastian,
I use version 1.4.4
The problem happened for the first time -
@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. -
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.
-
@abado Why does
/home/fog
not exist? The FOG installer creates a user account calledfog
which has this as home directory (by default). Please rungrep 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?!
-
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
-
@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.
-
After executing the passed commands, the error message became the following:
-
@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?
-
@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
-
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