Hello,
Today, scheduled invoices haven't been created due to a permission error on the folder storing them in /app/data/dolibarr/facture/FA2604-0802
Also, I have set the cron job to run with ww-data but it still rotates the log on root user:


Hello,
Today, scheduled invoices haven't been created due to a permission error on the folder storing them in /app/data/dolibarr/facture/FA2604-0802
Also, I have set the cron job to run with ww-data but it still rotates the log on root user:


Hello
I thought this issue has been fixed, but we always have the issue. (which is a security one)
I do not know why the Cloudron Dolibarr app runs the cron as root and not as www-data user.
Needed to run
cp /etc/docker/daemon.json /etc/docker/daemon.json.bak
printf '{}\n' > /etc/docker/daemon.json
systemctl restart docker
systemctl status docker --no-pager
As per the Hostinger AI, there were an issue aroundlog-driver in conflict
root@my:~# cloudron-support --troubleshoot
Vendor: QEMU Product: Standard PC (i440FX + PIIX, 1996)
Linux: 6.8.0-110-generic
Ubuntu: noble 24.04
Execution environment: kvm
Processor: AMD EPYC 9354P 32-Core Processor
BIOS pc-i440fx-10.1 CPU @ 2.0GHz x 4
RAM: 16376024KB
Disk: /dev/sda1 141G
[OK] node version is correct
[OK] IPv6 is enabled and public IPv6 address is working
Docker is down. Trying to restart docker ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
root@my:~#
root@my:~# journalctl -xeu docker.service
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Apr 18 07:28:23 my systemd[1]: Starting docker.service - Docker Application Container Engine...
░░ Subject: A start job for unit docker.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit docker.service has begun execution.
░░
░░ The job identifier is 624.
Apr 18 07:28:23 my dockerd[1081]: unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: log-driver: (from >
Apr 18 07:28:23 my systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit docker.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 18 07:28:23 my systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Apr 18 07:28:23 my systemd[1]: Failed to start docker.service - Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 624 and the job result is failed.
Apr 18 07:28:25 my systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Apr 18 07:28:25 my systemd[1]: docker.service: Start request repeated too quickly.
Apr 18 07:28:25 my systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Apr 18 07:28:25 my systemd[1]: Failed to start docker.service - Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 741 and the job result is failed.
root@my:~#
I need help to solve this please
Fixed by setting my own cron job https://forum.cloudron.io/topic/14965/which-user-for-cron-task/4?_=1773687776018
Sorry for my late answers. Yes, yes it fixes it. Thank you
Hello,
Is a solution has been found because I'm experiencing the same issue.
Video => https://www.loom.com/share/a526c2ccf8ff46108d791ae6e4d862e8
Logs => https://file.thivinfo.com/Cloudron/82a18dde-001d-4c51-a69b-5ac33376e6b5 (1).log
Hello,
In Dolibarr App, I'm trying to change my profile language and receive this message:
Access refused to 172.18.0.1 by SQL or Script injection protection in main.inc.php:analyseVarsForSqlAndScriptsInjection type=0
Try to go back, fix data of your form and resubmit it. You can contact also your technical support.
Do you know how to solve this ?
Regards
Hello @james
I have an recurrent invoice created each 28th of the month and yesterday, it has not been created (first 28th after migrating to Cloudron).
So I thought the Cron task was not run.
i've added it on the Cron tab from the panel but the pdf generated by Dolibarr was owned by root user.
I've just perform the same test on my two weeks old Dolibarr installed on another host and the Link are correct.
So they are modified by the Dolibarr Cloudron app.
In both cases, the emails are sent by the same SMTP located on my cloudron
Hello,
I first thought to post on the Dolibarr forum but I think it's more generic.... but I'm not sure 
OK, in Dolibarr, I can issue some payment link which llos like to https://example.com/public/payment/newpayment.php?source=invoice&ref=FA2601-0768&securekey=my-key
Once sent by email, my customers received https://example.com/public/payment/newpayment.php?source=invoice&ref=FA2601-0768&securekey=my-key
As you can see the & have been escaped to & which is of course breaking the link.
When I received the email, the "from" header is "Matomo" which is another apps I'm running on the Cloudron.
Both are sending emails through address managed by my cloudron.
Do you know why the from is Matomo on my Dolibarr ?
Regards
Hello,
I've set a cron task from the app (Dolibarr) panel:

I assume this task is run as root? (or not www-data user)
Am I right ?
If I need to change the user, do you suggest to edit the crontab from the web terminal ?
crontab -e ?
Thanks
Thank you @james
Increasing the part size has fixed the issue.
On Cloudron 9.0.17, my backup to S3 (Scaleway) are crashing.
Here are the logs: https://file.thivinfo.com/Cloudron/task-23.log
Any idea on what is happening ?
Hello,
The doc link on the Matrix app "first time installation" is wrong.

It actually point to https://docs.cloudron.io/apps/synapse/#post-installation when the correct link is https://docs.cloudron.io/packages/synapse/#post-installation (/packages/ io /apps/)
Regards
Thank you @jadudm Cloud Sync app is, I think, what I need.
I didn't know this Synology app and I think It will help me in many cases.
@hakunamatata no they are not on same LAN. My NAS is at home and Cloudron on a VPS on a hosting provider.
Hello,
Is there some of you who are backuping their Cloudron to their Synology NAS ?
I have a DS720+ and I wonder how I could setup a backup on Cloudron to save it on my NAS.
Do you have some tips ?
Regards
oh! I'm sorry, i missed @james answer. wp db command works with the full path
@p44 tip works but it's really easier to launch a wp db import backup.sql command.