From 6e00d18508d501e6d6788a63118757e9fd3c5cbd Mon Sep 17 00:00:00 2001
From: Domenico Del Giudice <114437746+domedg@users.noreply.github.com>
Date: Sun, 2 Mar 2025 12:54:03 +0100
Subject: [PATCH] Update README.md
---
README.md | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index c127afce..d80513fc 100644
--- a/README.md
+++ b/README.md
@@ -140,6 +140,7 @@ To get things up and running just follow these steps:
```
docker compose up -d
```
+ Before starting T-Pot, make sure Docker is running on your system.
10. During the first time running `docker-compose up`, you may encounter some issues. Check the [Installation Issues](#installation-issues) section to solve them.
11. To Stop T-Pot press: `CTRL-C` (it if was running in the foreground) and / or `docker compose down -v` to stop T-Pot entirely.
@@ -239,6 +240,19 @@ htpasswd -n -b "tsec" "tsec" | base64 -w0
```
Copy the generated string and manually replace the WEB_USER value in the .env file.
+#### ⚠️ Issue 5: Missing Directories in T-Pot Initialization
+**Issue:** When running `docker compose up`, you may see the following lines in the T-Pot init logs:
+```
+tpotinit | # Updating permissions ...
+tpotinit |
+tpotinit | chmod: /data/nginx/conf: Permission denied
+tpotinit | chmod: /data/nginx/cert: Permission denied
+...
+```
+**Solution:** To correct this and other issues of the same type, run:
+```sh
+chmod -R 770 data
+```
---
### 2.2 Management Tips 🛟
@@ -272,7 +286,17 @@ Copy the generated string and manually replace the WEB_USER value in the .env fi
```sh
docker exec -it --user root /bin/sh
```
- Or
+7. **Prune Unused Networks**: If you encounter network issues, you can remove all unused networks with the following command:
+ ```sh
+ docker network prune
+ ```
+ This command will prompt for confirmation before deleting all unused networks.
+8. **Restart Containers**: Sometimes, simply restarting the containers can resolve issues. You can do this by bringing the containers down and then up again:
+ ```sh
+ docker-compose down && docker-compose up
+ ```
+ This command stops and removes the containers, then recreates and starts them.
+
---