Skip to content

Commit 507ffb8

Browse files
committed
add hint about missing license file and creation of a directory
1 parent 6277fcd commit 507ffb8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/installation/faq.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,33 @@ security headers vielleicth im Bereich Proxy.
140140

141141
You can opt out of using Caddy and use another webserver of your choice. In this case, remove `caddy.yml` from the COMPOSE_FILE variable in the `.env` file and follow the instructions in section [Custom Revers Proxy](./advanced/custom-proxy.md).
142142

143+
??? question "SeaTable terminates with `/shared/seatable/seatable-license.txt: Is a directory`"
144+
145+
In the `seatable-server.yml` file, the SeaTable license file is mounted into the container:
146+
147+
```
148+
- type: bind
149+
source: "./seatable-license.txt"
150+
target: "/shared/seatable/seatable-license.txt"
151+
read_only: ${SEATABLE_LICENSE_FORCE_READ_ONLY:-false}
152+
```
153+
154+
This error occurs when SeaTable is started before the `seatable-license.txt` file exists in the `/opt/seatable-compose` directory. In this case, Docker automatically creates a directory named `seatable-license.txt` instead of a file. Even after adding the license file later, SeaTable cannot start because the directory remains in place.
155+
156+
**Solution**
157+
158+
Stop the SeaTable container, remove the directory that Docker created by mistake: and restart SeaTable.
159+
160+
```
161+
docker stop seatable-server
162+
rm -r /opt/seatable-server/seatable/seatable-license.txt
163+
docker start seatable-server
164+
```
165+
166+
Ensure that the license file `seatable-license.txt` is present in `/opt/seatable-compose` before starting SeaTable again.
167+
168+
169+
143170
<!--
144171
- spaces in the COMPOSE_FILE
145172
- activate logging (gehört hier nciht hin.)

0 commit comments

Comments
 (0)