diff --git a/mkdocs/docs/installation/docker-compose.md b/mkdocs/docs/installation/docker-compose.md index 18f4032..54bde34 100644 --- a/mkdocs/docs/installation/docker-compose.md +++ b/mkdocs/docs/installation/docker-compose.md @@ -106,34 +106,3 @@ Should that not be an option, the Tube Archivist container takes these two addit - This project is tested for updates between one or two releases maximum. Further updates back may or may not be supported and you might have to reset your index and configurations to update. Ideally apply new updates at least once per month. - There can be breaking changes between updates, particularly as the application grows, new environment variables or settings might be required for you to set in the your docker-compose file. *Always* check the **release notes**: Any breaking changes will be marked there. - All testing and development is done with the Elasticsearch version number as mentioned in the provided *docker-compose.yml* file. This will be updated when a new release of Elasticsearch is available. Running an older version of Elasticsearch is most likely not going to result in any issues, but it's still recommended to run the same version as mentioned. Use `bbilly1/tubearchivist-es` to automatically get the recommended version. - -## Common Errors -Here is a list of common errors and their solutions. - -### `vm.max_map_count` -**Elastic Search** in Docker requires the kernel setting of the host machine `vm.max_map_count` to be set to at least 262144. - -To temporary set the value run: -``` -sudo sysctl -w vm.max_map_count=262144 -``` -To apply the change permanently depends on your host operating system: - - - For example on Ubuntu Server add `vm.max_map_count = 262144` to the file `/etc/sysctl.conf`. - - On Arch based systems create a file `/etc/sysctl.d/max_map_count.conf` with the content `vm.max_map_count = 262144`. - - On any other platform look up in the documentation on how to pass kernel parameters. - - -### Permissions for elasticsearch -If you see a message similar to `Unable to access 'path.repo' (/usr/share/elasticsearch/data/snapshot)` or `failed to obtain node locks, tried [/usr/share/elasticsearch/data]` and `maybe these locations are not writable` when initially starting elasticsearch, that probably means the container is not allowed to write files to the volume. -To fix that issue, shutdown the container and on your host machine run: -``` -chown 1000:0 -R /path/to/mount/point -``` -This will match the permissions with the **UID** and **GID** of elasticsearch process within the container and should fix the issue. - - -### Disk usage -The Elasticsearch index will turn to ***read only*** if the disk usage of the container goes above 95% until the usage drops below 90% again, you will see error messages like `disk usage exceeded flood-stage watermark`. - -Similar to that, TubeArchivist will become all sorts of messed up when running out of disk space. There are some error messages in the logs when that happens, but it's best to make sure to have enough disk space before starting to download. \ No newline at end of file