New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview Generator 2.1.0: unable to create directory '~/.cache/dconf': Operation not permitted. dconf will not work properly #154
Comments
same issue here.
|
Preview generator does not create preview for PDF, Office documents and video files. :-( |
The The default location of it is the home directory of the user, in case of an ISPConfig server it is The home directory has setup the immutable bit, therefore the
After adding the . But not every user has root access to disable the immutable bit, so in my opinion this is a bug in the preview generator app and should be fixed @rullzer. |
Hi I'm having a similar problem, but the path is different and I'm having a tough time figuring out the permissions. The path for me is /root/.cache I've tried changing the owner:group to www-data:www-data (which is the permission needed for most other nextcloud files and folders in my install), but no luck. Any suggestions? Thanks! |
I have this error also - but I am not using the /var/www/... directory structure at all. So I'm not sure where the script is getting this from. Shouldn't it read from the nextcloud config to place these directorys in the data directory of users? |
then your preview-generator cronjob is running as root |
when you say that "The default location of it is the home directory of the user" - do you mean like with linux user accounts? I have nextcloud installed with users within that, but no other accounts locally on the machine. I want to get the preview of office documents to work, but when I run:
I get: My nextcloud data is located in |
I figured it out - since the I stopped nginx and php7.3-fpm and ran the command |
Sorry to dig out this old issue, but I'm also facing this problem at one installation. Although I run:
I'm getting the error message "unable to create directory '/root/.cache/dconf' " The home path of www-data is "/var/www/", I'm running the occ command as user www-data ... why in the world does it like to create the cache in the /root/ - Folder?`And how do I fix this? |
I have the same issue here. Were you able to solve this? |
Update install script to change home directory of nextcloud user and avoid this error : nextcloud/previewgenerator#154
Nextcloud 15.05 on Ubuntu 18.04 with ISPConfig:
While executing the Preview Generator cronjob:
Does not generate previews for PDF files!
The text was updated successfully, but these errors were encountered: