-
Hi, est (Estonian) code for the language. I have installed Nextcloud with Docker. I used commands:
I restarted my docker container, and language did not appear under the list of available languages. I assume I'm missing something. I believe after an Image update, I will need to do it all around, right? Appreciate any help you can provide. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, so basically you're running into the same issue like mentioned in #119. The current dropdown list is hardcoded and does not receive the installed languages from the backend system. For now i will add the Just another hint: if you restart a container by |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you R0Wi for the detailed answer and for the est-option in the backend. Waiting for the update. As for the docker-compose, actually, I've just restarted the Nextcloud container from Portainer, so it shouldn't pull the new image. I think. It seems that I need to learn something new with custom Dockerfile, I will put this on my list for the future. Meanwhile, for me, I believe it will be easier to install the package with one/few commands after the image update. Thanks again, I appreciate your fast turnaround. |
Beta Was this translation helpful? Give feedback.
-
Summary For a custom NC docker image, you could basically go like this:
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
# Adjust the image name to your needs, this will be branded into your custom image
image: nextcloud-24-custom
restart: always
# Add this section here:
build:
dockerfile: ./Dockerfile
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
FROM nextcloud:24-apache
RUN apt-get update \
&& apt-get install -y make ocrmypdf tesseract-ocr-eng tesseract-ocr-est \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
If you want to have the base image version as a variable inside a |
Beta Was this translation helpful? Give feedback.
Summary
For a custom NC docker image, you could basically go like this:
docker-compose.yml
-file to have abuild
-section pointing to yourDockerfile
and make sure you use a custom image name to force Docker to build your image