Author Topic: Error 500 every few days. Have to Fix permissions everytime  (Read 3578 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,
I have problem with permissions. They seem to reset somehow, but im doing nothing to those files. They just lay around and are executed every while.

Still, after few days, I have to go and fix permissions, meaning i cannot autoimate process as it requires my attendance.

What may be causing this problem? This account is quite big and it takes some time to restore permissions.

Offline
*
Re: Error 500 every few days. Have to Fix permissions everytime
« Reply #1 on: May 23, 2021, 10:58:16 AM »
Are you saying numerous accounts have permission issues or it is just one account?

Do these account(s) have subdomains?
Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.

Offline
*
Re: Error 500 every few days. Have to Fix permissions everytime
« Reply #2 on: May 31, 2021, 12:51:43 PM »
I'm really sorry for late reply. Acually I'm using only one account (dedicated server) and it has 1 Prestashop and one thirtybees.

Every while permissions are lost. But not those "visible". chmod is always proper. but 500 and only Fix permissions on this account recovers it.

This script is static, not modified, not updated (except manually). Not sure what happens to it it starts to produce 500 and only Fix Permissions helps it.

This script is not used daily, more like weekly and /scripts/cron_fix_openbasedir does not detect it.

Offline
*****
Re: Error 500 every few days. Have to Fix permissions everytime
« Reply #3 on: June 01, 2021, 09:13:01 AM »
Maybe you uploading files under another user like root or you have set the root login credentials for FTPs in your website config.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Error 500 every few days. Have to Fix permissions everytime
« Reply #4 on: June 01, 2021, 03:29:23 PM »
When I upload, i do it with user account i created.
And PHP files work fine after upload, but some times passes and after few weeks of not using are 500.

If it's not common problem, then maybe I will just wait untill it happens next  time, will check exactly which "fix permissions" option fixes problem and report back when i have 100% confirmed it happens without my changes.

Offline
*****
Re: Error 500 every few days. Have to Fix permissions everytime
« Reply #5 on: June 04, 2021, 07:15:59 PM »
That's weird. Seems like you changing the owner or permissions manually.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services