Hey Guys,
short version:
i think i need to install the php-PCNTL-extension for running the "occ files:cleanup" command in the owncloud-plugin
extended version:
since my upgrade to owncloud 9.1 plugin on 9.10 freenas i got two annoying errors, which spam my whole logfile every seccond...
- "Error getting storage info for mount at (...)"
- File with id "0815" has not been found.
i think i found the solution in another forum: run the occ command "files:scan" and "files:cleanup"
In case someone wants to know how to run it in the plugin:
cd /usr/pbi/owncloud-amd64/www/owncloud
chsh -s /bin/sh www
su www
/usr/pbi/owncloud-amd64/bin/php ./occ files:scan
/usr/pbi/owncloud-amd64/bin/php ./occ files:cleanup
if i run the files:cleanup command i get the error:
"The process control (PCNTL) extensions are required in case you want to interrupt long running commands"
So: is ther any possibility to run the command nevertheless the plugin?
I coudnt figure it out so i tried to install the pcntl extension.
If i'm correct the owncloud-plugin 9.1 runs php version 5.5.1.6.
When i tried to install the extension over "pkg install" i could only find the php55-pcntl package "php55-pcntl-5.5.38" and this one could solve the problem after installing...
So my question: what is the most simple solution to run the files:cleanup command?
Thanks for any help!!
short version:
i think i need to install the php-PCNTL-extension for running the "occ files:cleanup" command in the owncloud-plugin
extended version:
since my upgrade to owncloud 9.1 plugin on 9.10 freenas i got two annoying errors, which spam my whole logfile every seccond...
- "Error getting storage info for mount at (...)"
- File with id "0815" has not been found.
i think i found the solution in another forum: run the occ command "files:scan" and "files:cleanup"
In case someone wants to know how to run it in the plugin:
cd /usr/pbi/owncloud-amd64/www/owncloud
chsh -s /bin/sh www
su www
/usr/pbi/owncloud-amd64/bin/php ./occ files:scan
/usr/pbi/owncloud-amd64/bin/php ./occ files:cleanup
if i run the files:cleanup command i get the error:
"The process control (PCNTL) extensions are required in case you want to interrupt long running commands"
So: is ther any possibility to run the command nevertheless the plugin?
I coudnt figure it out so i tried to install the pcntl extension.
If i'm correct the owncloud-plugin 9.1 runs php version 5.5.1.6.
When i tried to install the extension over "pkg install" i could only find the php55-pcntl package "php55-pcntl-5.5.38" and this one could solve the problem after installing...
So my question: what is the most simple solution to run the files:cleanup command?
Thanks for any help!!