File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,14 @@ volumes:
9090 o : bind
9191` ` `
9292
93- Then build and run all services (-d is to run in background)
93+ Then build and run all services (-d is to run in background)
94+
9495` sudo docker-compose up -d`
9596
9697You can check the web and the mariadb containers are up and see logs with
98+
9799` sudo docker-compose ps`
100+
98101` sudo docker-compose logs`
99102
100103Once the log shows that the start is complete, go to http://0.0.0.0 to access to the new Dolibarr installation, first admin login is admin/admin.
@@ -116,15 +119,22 @@ You can find several examples in the `examples` directory, such as:
116119Warning : Only data stored into persistent directories will not be lost after an upgrade of containers.
117120
118121Remove the `install.lock` file. The `install.lock` file is located inside the container volume `/var/www/documents`.
122+
119123` sudo docker exec nameofwebcontainer bash -c "rm -f /var/www/documents/install.lock"`
120- of
124+
125+ or
126+
121127` sudo docker exec -it nameofwebcontainer bash`
128+
122129` rm -f /var/www/documents/install.lock; exit`
123130
124131
125132Then start an updated version container.
133+
126134` sudo docker-compose pull`
135+
127136` sudo docker-compose up -d`
137+
128138` sudo docker-compose logs`
129139
130140Ensure that env `DOLI_INSTALL_AUTO` is set to `1` so it will migrate Database to the new version.
Original file line number Diff line number Diff line change @@ -85,10 +85,13 @@ volumes:
8585```
8686
8787Then build and run all services (-d is to run in background)
88+
8889`sudo docker-compose up -d`
8990
9091You can check the web and the mariadb containers are up and see logs with
92+
9193`sudo docker-compose ps`
94+
9295`sudo docker-compose logs`
9396
9497Once the log shows that the start is complete, go to http://0.0.0.0 to access to the new Dolibarr installation, first admin login is admin/admin.
@@ -110,15 +113,22 @@ You can find several examples in the `examples` directory, such as:
110113Warning: Only data stored into persistent directories will not be lost after an upgrade of containers.
111114
112115Remove the `install.lock` file. The `install.lock` file is located inside the container volume `/var/www/documents`.
116+
113117`sudo docker exec nameofwebcontainer bash -c "rm -f /var/www/documents/install.lock"`
114- of
118+
119+ or
120+
115121`sudo docker exec -it nameofwebcontainer bash`
122+
116123`rm -f /var/www/documents/install.lock; exit`
117124
118125
119126Then start an updated version container.
127+
120128`sudo docker-compose pull`
129+
121130`sudo docker-compose up -d`
131+
122132`sudo docker-compose logs`
123133
124134Ensure that env `DOLI_INSTALL_AUTO` is set to `1` so it will migrate Database to the new version.
You can’t perform that action at this time.
0 commit comments