tcpdf error permission denied cuz invoice job create folder with root permission instead of www-data
-
hi
similar to this : https://forum.cloudron.io/topic/14965/which-user-for-cron-task/8
when I click 'launch now' the job runs and create invoices...

... but the folder generated are root-owned.
Then I got an error when I go to the invoice page and try to generate the PDF.
To fix I need to change the owner of the folder from root to www-data. -
hi
similar to this : https://forum.cloudron.io/topic/14965/which-user-for-cron-task/8
when I click 'launch now' the job runs and create invoices...

... but the folder generated are root-owned.
Then I got an error when I go to the invoice page and try to generate the PDF.
To fix I need to change the owner of the folder from root to www-data. -
I was trying to reproduce this on a fresh instance, but I don't seem to even have this menu entry for Scheduled Jobs in the Admin Tools. Are you using any 3rdparty module in dolibarr?
Edit: found the module to enable, it is just called "Scheduled Jobs" however running the invoices job does not create any folders here to verify. If you have any more detailed description how to setup such an invoice for manual cron creation, to reproduce the problem, this would help much.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login