Skip to content
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

Cron task error to backup on PHP 8.2 #30863

Closed
ns-info90 opened this issue Sep 5, 2024 · 3 comments
Closed

Cron task error to backup on PHP 8.2 #30863

ns-info90 opened this issue Sep 5, 2024 · 3 comments
Labels
Bug or PR need more information This bug or PR needs more information (answer to a question or more accurate description)

Comments

@ns-info90
Copy link
Contributor

Bug

In the task scheduler, when a local database backup is launched
The result is this message
External command execution fails. Check that it is available and executable by the user of your PHP server. Also check that the command is not protected at shell level by a security layer such as apparmor.

Dolibarr Version

19.0.3

Environment PHP

Php 8.2

Environment Database

MariaDB 10.6.18

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

@ns-info90 ns-info90 added the Bug This is a bug (something does not work as expected) label Sep 5, 2024
@ksar-ksar
Copy link
Contributor

Hello,

There are a lot of possibilities for this not to work :

  • Are you sure that the backup command is OK ?
  • Did you check the server logs ?
  • How do you know it"s a PHPV8.2 issue ,

@ksar-ksar ksar-ksar added Bug or PR need more information This bug or PR needs more information (answer to a question or more accurate description) and removed Bug This is a bug (something does not work as expected) labels Sep 6, 2024
@ns-info90
Copy link
Contributor Author

Hello,
Same test performed with PHP 7.4 without any error
The version of Maria DB is not the same, so we could also blame Maria DB.

@ns-info90
Copy link
Contributor Author

Error related to the database and not to Dolibarr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug or PR need more information This bug or PR needs more information (answer to a question or more accurate description)
Projects
None yet
Development

No branches or pull requests

2 participants