Dear folks,
I just migrated from one server to another server using Plesk 11.5.30 on both machines.
After migrating one domain, I noticed that the statistics (disk usage) were not up to date... So i started googling and found the command:
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.tld
It is also noted in here:
http://kb.parallels.com/en/393
However, when I try to run this command I get the following error:
WARNING during statistics_collector execution: : './domain.tld/logs' already exists, but has wrong access rights. Specify --force to override.
statistics_collector: /opt/psa/admin/sbin/relink-vhost-logs execution failed:
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/domain.tld/logs' is in invalid state.
So, I tried to reset the owner, reset the access right, deleted the folder and created it again, uploaded the files directly from the backup, but nothing helped. The statistic is - for the time being - now updated, but I want to get rid of this error message. I'm just a bit scared that maybe some future updates won't work. So, I continued using google:
I tried that one: http://kb.parallels.com/en/117725 and I updated my passwd, but it didn't help either...
Meanwhile, I also came across this, but it didn't help, too: http://kb.parallels.com/en/116191
So, right now, I just don't know what to do in order to get domain.tld/logs in a valid state...
Any help is highly appreciated!
Thank you so much!
(And, of course, I replaced domain.tld with my domain name )
I just migrated from one server to another server using Plesk 11.5.30 on both machines.
After migrating one domain, I noticed that the statistics (disk usage) were not up to date... So i started googling and found the command:
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.tld
It is also noted in here:
http://kb.parallels.com/en/393
However, when I try to run this command I get the following error:
WARNING during statistics_collector execution: : './domain.tld/logs' already exists, but has wrong access rights. Specify --force to override.
statistics_collector: /opt/psa/admin/sbin/relink-vhost-logs execution failed:
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/domain.tld/logs' is in invalid state.
So, I tried to reset the owner, reset the access right, deleted the folder and created it again, uploaded the files directly from the backup, but nothing helped. The statistic is - for the time being - now updated, but I want to get rid of this error message. I'm just a bit scared that maybe some future updates won't work. So, I continued using google:
I tried that one: http://kb.parallels.com/en/117725 and I updated my passwd, but it didn't help either...
Meanwhile, I also came across this, but it didn't help, too: http://kb.parallels.com/en/116191
So, right now, I just don't know what to do in order to get domain.tld/logs in a valid state...
Any help is highly appreciated!
Thank you so much!
(And, of course, I replaced domain.tld with my domain name )