NS8-Dolibarr App

i think it was for security reasons

Restore to have issues. Trying to restore a backup, replacing Dolibarr1. The restore, but I now there now is a Dolibarr2 instance (despite force replace Dolibarr1). This repeats itself when trying a second time, restore fails and there is a Dollibar3.

<7>dump_env() is deprecated and implemented as a no-op
restic restore latest --target . --exclude state/environment
Trying to pull Package restic · GitHub

Getting image source signatures
Copying blob sha256:85c8a0c11f9af554b4c971ff20ba13733377aee70bdecb352874093bfa9acfc3
Copying blob sha256:82e94dfc42a5139b349717d0ef16203b01c32a0a5c61b3b3c034e6a329868fbf
Copying config sha256:3c3b20364e388f1ee2304949bee14c712413c1fa1ac1e4da1a9a9f6092690b74
Writing manifest to image destination
restoring <Snapshot b5f83ae7 of [/srv/state/smarthost.env /srv/volumes/dolidoc /srv/volumes/doliscripts /srv/volumes/dolicustom /srv/volumes/mysql-data /srv/state/environment] at 2024-03-05 05:48:27.598257802 +0000 UTC by root@srv1> to .
mkdir: created directory ‘initdb.d’
mv: cannot stat ‘dolibarr.sql’: No such file or directory

Had you deleted the first instance prior to backup restore?

Does the new restored instance work?

I don’t know for both instances (original and restored) are present with the same details


So I do not know which instance is in effect when going to the FQDN in settings e.g. dolibarr.myserver.com

try modify the restored instance with a different domain, and acccess it, inform if all the data has been restored

Also

Did you chose replace existing app during restore
image

Yes, specifically as I mentioned before

I have attempted to restore to existing app, and it seems to have hung, let me look into it and revert

1 Like

@stephdl am trying to impliment LDAP in dolibarr but am having issues like:
agent.ldapproxy: domain mydomain.com should not be used by dolibarr6. Invoke agent.bind_user_domains([“mydomain.com”]) to fix this warning.

how can i solve this
The gituhbrepo: GitHub - geniusdynamics/ns8-dolibarr at ldap

this is an example of what you have to do

Unfortunately for what I recall (check my dolibarr version in my github) the ldap schema must be set inside the mysql database, it is a kind of holly sh


2 Likes

I have added all of this

Also how can i get the ldap values such as bind password from the ldap provider and such. I think thats what i am missing

Okay understood
Also is there a command to see the contents inside a .env file


@stephdl how can i solve this error

Do not use the 127.0.0.1 but the special ip 10.0.2.2

2 Likes

Okay let me try


Has refused to connect

Show me the code

1 Like

you miss something inside the pod systemd service, you could add the host definition but it is not a mandatory

Okay
Anything else you have noticed