i'm in the process of setting up allocPSA on a hosted server and am having issues setting up the upload dir. allocPSA keeps telling me the following:
The directory specified for file uploads is either not defined or not writeable by the webserver process. Run:
mkdir /mnt/b0f883/www/uploads/
chmod a+w /mnt/b0f883/www/uploads/
my alloc setup is in the following location
/mnt/b0f883/www/psa
the only other folder that exists at the /mnt/b0f883/ level is a cgi-bin directory. i even tried crating the uploads directory inside cgi-bin, however the same message came up.
any help you can provide would be greatly appreciated!
best regards,
Attilio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to create that directory. On linux/unix you do it with the mkdir command.
You said that the only other folder that exists at the /mnt/b0f883/ level is the cgi-bin directory, however the error message says that you don't have the uploads directory at the /mnt/b0f883/www/ level.
thanks for the reply! i was able to resolve my issue. the problem was that i didn't have the complete path. for some reason when i issued the pwd command, it didn't give me everything. so i managed to find a php script that displays the entire path. i put the proper full path into the config and it worked!
my only concern is that i had to put my uploads dir into the web document root when the instructions say not to do this....is it really that big of a deal?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Whether it matters or not depends on the importance of the files you and your users intend to upload into the protected directory's, and whether you think your installation of alloc would perhaps be vulnerable to an attack.
In most cases I would assume that it would be quite rare that the uploads directory could be a potential target. However shipping alloc based on that assumption would not be a responsible decision. Thus the default advice is to put the uploads directory outside the webroot. Feel free to disregard this advice at your own discretion :)
Hello,
i'm in the process of setting up allocPSA on a hosted server and am having issues setting up the upload dir. allocPSA keeps telling me the following:
The directory specified for file uploads is either not defined or not writeable by the webserver process. Run:
mkdir /mnt/b0f883/www/uploads/
chmod a+w /mnt/b0f883/www/uploads/
my alloc setup is in the following location
/mnt/b0f883/www/psa
the only other folder that exists at the /mnt/b0f883/ level is a cgi-bin directory. i even tried crating the uploads directory inside cgi-bin, however the same message came up.
any help you can provide would be greatly appreciated!
best regards,
Attilio
ahhh ok, thanks for the advice and the help.... i look forward to using this product!
all the best!
Hi Attilio,
You need to create that directory. On linux/unix you do it with the mkdir command.
You said that the only other folder that exists at the /mnt/b0f883/ level is the cgi-bin directory, however the error message says that you don't have the uploads directory at the /mnt/b0f883/www/ level.
run these two commands:
mkdir -p /mnt/b0f883/www/uploads/
chmod a+w /mnt/b0f883/www/uploads/
Cheers,
Alex Lance
http://allocpsa.com
Hi Alex,
thanks for the reply! i was able to resolve my issue. the problem was that i didn't have the complete path. for some reason when i issued the pwd command, it didn't give me everything. so i managed to find a php script that displays the entire path. i put the proper full path into the config and it worked!
my only concern is that i had to put my uploads dir into the web document root when the instructions say not to do this....is it really that big of a deal?
Attilio,
Whether it matters or not depends on the importance of the files you and your users intend to upload into the protected directory's, and whether you think your installation of alloc would perhaps be vulnerable to an attack.
In most cases I would assume that it would be quite rare that the uploads directory could be a potential target. However shipping alloc based on that assumption would not be a responsible decision. Thus the default advice is to put the uploads directory outside the webroot. Feel free to disregard this advice at your own discretion :)
Cheers,
Alex Lance
http://allocpsa.com