- Posts: 31
- Thank you received: 5
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Site Cache and File Permissions
- mhladun
- Topic Author
- Offline
- Junior Member
Less
More
2 years 1 week ago - 2 years 1 week ago #227357
by mhladun
Site Cache and File Permissions was created by mhladun
Your LimeSurvey version: 5.2.13 LimeSurvey build 220207
Own server or LimeSurvey hosting: Own server (CentOS)
Survey theme/template: Custom (Vanilla, Bootwatch as parents)
==================
In order to avoid getting a 500 HTTP Error response from the server, I need to run the following 3 steps,
1. Run
2. Visit the site.
3. Run
I haven't been able to pin down exactly what triggers the HTTP 500 responses to begin, but they seem to happen when CentOS is rebooted, and not when the apache server is restarted. These 3 steps make them go away.
Why must I visit the Limesurvey site between these chmod commands? If I run all the commands together, then visit the site, I get a HTTP 500 response. Does Limesurvey load the security.php and config.php files into a cache, making step 3. useless?
Thank you,
Michael
Own server or LimeSurvey hosting: Own server (CentOS)
Survey theme/template: Custom (Vanilla, Bootwatch as parents)
==================
In order to avoid getting a 500 HTTP Error response from the server, I need to run the following 3 steps,
1. Run
Code:
sudo chmod -R 775 /var/www/html/limesurvey && \ sudo chmod -R 777 /var/www/html/limesurvey/tmp && \ sudo chmod -R 777 /var/www/html/limesurvey/upload
3. Run
Code:
sudo chmod 770 /var/www/html/limesurvey/application/config/security.php && \ sudo chmod 770 /var/www/html/limesurvey/application/config/config.php
I haven't been able to pin down exactly what triggers the HTTP 500 responses to begin, but they seem to happen when CentOS is rebooted, and not when the apache server is restarted. These 3 steps make them go away.
Why must I visit the Limesurvey site between these chmod commands? If I run all the commands together, then visit the site, I get a HTTP 500 response. Does Limesurvey load the security.php and config.php files into a cache, making step 3. useless?
Thank you,
Michael
Last edit: 2 years 1 week ago by mhladun. Reason: formatting
Please Log in to join the conversation.
- Mia_white
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 1
2 years 6 days ago #227479
by Mia_white
Replied by Mia_white on topic Site Cache and File Permissions
hi
i also had a similar doubt, let me know, if anyone knows what needs to be done.
i also had a similar doubt, let me know, if anyone knows what needs to be done.
The following user(s) said Thank You: mhladun
Please Log in to join the conversation.
- mhladun
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 5
1 year 5 days ago #242673
by mhladun
Replied by mhladun on topic Site Cache and File Permissions
Have you gotten to the bottom of this yet?
Please Log in to join the conversation.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13645
- Thank you received: 2491
1 year 5 days ago #242678
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Site Cache and File Permissions
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.