-
Notifications
You must be signed in to change notification settings - Fork 8
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
PDF file not created #106
Comments
Why |
I don't see why that should matter provided the Apache user has sufficient permissions of that folder? |
In modern systemd-based distributions, /tmp is jailed in /tmp/systemd-private-7494c9c8c3fb4ab4vaa248b04267ec377-httpd.service-Q9VuQi/ That makes a huge difference if one process is within the service with the jailed temp, and the other goes not (cron). /dev/shm can be taken as alternative. |
Nextcloud is not configured to use /tmp for temporary storage. It uses an nfs mount point (/nfsdir/tmp) which works well. I see Nextcloud using it all the time, i.e. when previews are being generated the directory is used for temporary storing .png files. When I upload an Office document into Nextcloud not a single file is put there, so it seems the error is correct. I see LibreOffice being used for generating the preview file but not for the pdf document. Why is that? How can this be troubleshooted? |
Apparently I'm not the only one with the problem that this app doesn't work. Upgrading to version 1.3.2 did not solve the problem. It's been over a month since there was any response at all. Is this issue considered valid or should I just uninstall the app? |
Is this still valid? |
My system fails to generate a PDF file when uploading an Office document.
Steps to reproduce
PDF conversion = keep original, keep existing PDF's)
Expected behaviour
A PDF file is created and two files exist (document.docx and document.pdf)
Actual behaviour
A PDF file is not created.
Error message in nextcloud.log:
{"reqId":"ySR0SbbTnS3J44Slpjql","level":3,"time":"2020-04-24T14:00:00+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"/cron.php","message":"fopen(/var/www/nextcloud/tmp/oc_tmp_yiz0a1-.pdf): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/View.php#1042","userAgent":"--","version":"18.0.4.2"}
File /var/www/nextcloud/tmp/oc_tmp_yiz0a1-.pdf does not exist
File /var/www/nextcloud/tmp/oc_tmp_yiz0a1-.png exists. Preview works.
PDF Converter app
PDF Converter app version: 1.3.1
Server configuration
Operating system: Debian 10.3
Web server: Apache/2.4.38 (Debian)
Database: MariaDB 10.4.12
PHP version: PHP 7.4.5
Nextcloud Version: Nextcloud 18.0.4
**Where did you install Nextcloud from: Downloaded server package from Nextcloud
Signing status:
md5sum --c nextcloud-18.0.4.tar.bz2.md5
nextcloud-18.0.4.tar.bz2: OK
List of activated apps:
Nextcloud configuration:
Are you using external storage, if yes which one: nfs
Are you using encryption: no
Server log (data/nextcloud.log)
Libreoffice is installed:
dpkg-query -l | grep -i libreoffice
ii libreoffice 1:6.1.5-3+deb10u5 amd64 office productivity suite (metapackage)
The text was updated successfully, but these errors were encountered: