Jump to content
thirty bees forum

Recommended Posts

Posted

Hi!
I now get an error when I try to go somewhere from the admin menu. this one going to cs import tab.
What we have done is to update from Ubuntu 16.04 to 18.04. Backup is then restored. 
Looks to me like a permission problem but I tested with 777 and I get the same error

All errors is about the same, only the last folder can be different

Se screenshot

 

screenshot error tb.png

Posted

It's definitely a good idea. It shows the problem at hand quite nicely - the whole directory /cache/smarty is not writeable, at least for your web user

Posted (edited)

What about server user? Is it the same that before upgrading? Can you log in via ssh? You can try creating a folder there, or just 'touch filetest' to try creating a new file.

 

Edited by Wartin
Posted

This can happen when there is a directory higher in the tree where you (your web server) don't have execute permission. If a parent directory has no execute permission, then user cannot stat any subdirectories (regardless of the permissions on those subdirectories and/or files).

Anyway, this is not an application issue, it's server misconfiguration 

Posted

It will also throw that error when the server is out of disk space too, so clearing the cache is only a temporary solution, it will run out of space again. I would check the free space on the disk. 

Posted

Well if I take away the folders cache and compile in the smarty folder. The shop go down and I have to rollback the snapshot to get it up again

Posted
18 minutes ago, lesley said:

It will also throw that error when the server is out of disk space too, so clearing the cache is only a temporary solution, it will run out of space again. I would check the free space on the disk. 

Hi Lesley. It has about 800 Gbyte free space

Posted
40 minutes ago, lesley said:

Are you on a cpanel server by chance? 

No I use webmin but I can give you full access if you want

Posted

I was just curious, cpanel has some protections based on permissions that could be triggering. You might check that your tmp path as defined in php is writable. 

Posted

Well this problem is now solved. A very strange error I must say. @lesley pointed me in the right direction. I can say it had nothing to do with permissions. 
I use webmin as CP. Somethingf happened during last update. The VPS has 1 domain and the setting has been that the domain has unlimited disk space. The shop take about 21 Gb and the disk is 1 TB.

When I checked the suotes for the domain I discovered that the disk quota for the domain was set to 1 Gb. Shop works as normal.

Anyway, when I set the quota to unlimited all the errors disappeared.

One warning. I was advised to delete 2 folders in the Smarty folder. I tried that a couple of times and tb just chrashed. I also tested it after I fixed the problems. The same crash. They folders will not be recreated and a backup need to be restored or as I do it, roll back a snapshot

Posted
15 minutes ago, Havouza said:

One warning. I was advised to delete 2 folders in the Smarty folder. I tried that a couple of times and tb just chrashed. I also tested it after I fixed the problems. The same crash. They folders will not be recreated and a backup need to be restored or as I do it, roll back a snapshot

You are right, tb does not recreate them automatically. It should, but it doesn't. Maybe somebody will fix this bug in the future.

Sorry for the bad advice. The correct advice is to delete the content of /cache/smarty/compile and /cache/smarty/cache directories

Posted
On 7/29/2020 at 12:00 PM, datakick said:

You are right, tb does not recreate them automatically. It should, but it doesn't. Maybe somebody will fix this bug in the future.

Sorry for the bad advice. The correct advice is to delete the content of /cache/smarty/compile and /cache/smarty/cache directories

Probably if I had made new folder cache and compile it had probably started again but now I know.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...