YunoHost-Apps / dolibarr_ynh

Dolibarr ERP & CRM is a modern software to manage your organization's activity. This is an integration of Dolibarr in YunoHost
https://www.dolibarr.org/
GNU Affero General Public License v3.0
12 stars 18 forks source link

Dolibarr install fail - ERROR 1146 (42S02) at line 1: Table 'dolibarr.llx_const' doesn't exist #76

Closed jn-powerlan closed 2 years ago

jn-powerlan commented 2 years ago

Dolibarr install failed - ERROR 1146 (42S02) at line 1: Table 'dolibarr.llx_const' doesn't exist

When i try to install dolibarr on fresh yuno install it fail from cmdline or from webadmin.

Context

Steps to reproduce

Expected behavior

dollibarr successful installation

Logs

https://paste.yunohost.org/raw/vitawadepi

mastereur commented 2 years ago

Hello,

It seems that your problem is the same as #65 where it was a problem with the writing speed on the disk.

Have you tried an installation on another virtualization system or PC to see if that solves the problem.

jn-powerlan commented 2 years ago

When i use the testing branch the problem disappears, so it's not a speed disk issue.

mastereur commented 2 years ago

Hello,

Thank you for your feedback. With the debug mode you don't have the problem, maybe the fact to have more details slows down the installation process.

I will make a test version by adding a sleep between each call to the Dolibarr installation system.

mastereur commented 2 years ago

Hello,

I have just updated the installation script. Is it possible to make a new installation with sudo yunohost app install https://github.com/mastereur/dolibarr_ynh/tree/testing

On my side the new script works but as I don't have your problem, it is impossible for me to check if it changes something.

mastereur commented 2 years ago

Hello,

Have you tried the installation as described in my previous comment?

Thank you in advance for your feedback.

jn-powerlan commented 2 years ago

Hello, After a fresh debian11 install and yunohost 11.0.5, the problem completely disappear. (on stable and testing branch of dolibarr_ynh) Probably something in yunohost 11.0.5 fix the problem. I have done many tests (rollback snapshot from fresh install and retry) to be sure it's not a random problem

mastereur commented 2 years ago

Thank you for taking the time to test.

The ticket can be closed after your return