Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Path to store docum...
 
Notifications
Clear all

Path to store documents

12 Posts
2 Users
0 Reactions
3,624 Views
(@kishorevenki)
Posts: 41
Active Member
Topic starter
 
[#8024]

At the initial configuration, error message is received when absolute path is given for storing the attachments ,documents, logs, config parameters. The value that I gave is /opt/projeqtor/files/attach/
Error message is "incorrect value for 'Directory to store Attachments', this is not a valid directory name". 

Please help to fix this issue. 


 
Posted : 13 Jan 2022 14H42
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Directory /opt/projeqtor/files/attach/ does not exist or php user (www-data) has not write right to this folder.


 
Posted : 13 Jan 2022 15H14
(@kishorevenki)
Posts: 41
Active Member
Topic starter
 

 

The folders are existing and www-data has access rights as well.


 
Posted : 13 Jan 2022 16H31
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Check security tool such as Selinux that may block acces to directory.


 
Posted : 13 Jan 2022 21H51
(@kishorevenki)
Posts: 41
Active Member
Topic starter
 

SELinux is not installed in my ubuntu system. 


 
Posted : 14 Jan 2022 19H36
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Can you try without the ending "/"


 
Posted : 17 Jan 2022 13H44
(@kishorevenki)
Posts: 41
Active Member
Topic starter
 

Hi,

Sorry for the delayed response. 
I tried and noticed that even then I am not successful. But I noticede that I did not get wrong message for documents folder. Incorrect messages are showing for attachments, logs and parameter file configuration. 

Thanks & Regards,
Kishore 


 
Posted : 29 Jan 2022 13H58
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

I'm sure it is some security on server level that blocks.

Did you try :

su - www-data
cd /opt/projeqtor/files/config
echo "TEST" > test.log


 
Posted : 29 Jan 2022 14H12
(@kishorevenki)
Posts: 41
Active Member
Topic starter
 

Based on my understnding we can't switch to the user to "www-data" using 'su" command, the reason being there shall not be password set for "www-data" at default. But if I forcefully set, I doubt any web application would work smoothly. Please clarify. 

Thanks,
Kishore


 
Posted : 29 Jan 2022 15H27
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Idea is to really connect as www-data to verify it thie user can really write on that directories


 
Posted : 29 Jan 2022 16H30
(@kishorevenki)
Posts: 41
Active Member
Topic starter
 

Ok, Whilst I am figuring out the access permissions, I would like to know is there any limitation set for the length of the characters, or  number of folder limations for these paths? 

Regards,
Kishore 


 
Posted : 29 Jan 2022 16H55
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

No, no limitation.
Just take care to avoid special characters that would not be supported by the system . Keep it simple (use only ASCII characters to be sure)


 
Posted : 29 Jan 2022 17H00
Share:

Scroll to Top