Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker_notes:docker-nextcloud [2024-04-27 Sat wk17 12:48] – [Nextcloud Container] baumkp | docker_notes:docker-nextcloud [2025-04-11 Fri wk15 06:23] (current) – [Incorrect row format found in your database] baumkp | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| =====Nextcloud with supervisord===== | =====Nextcloud with supervisord===== | ||
| - | The base [[https:// | + | The base [[https:// |
| + | |||
| + | ++tl; | ||
| + | |||
| + | As docker adminstartion warns about missing php imagemagick-svg support I also added the Apline package to the updated image to rectify this warning. | ||
| + | |||
| + | ++++ Dockerfile| | ||
| + | <code yaml># | ||
| + | FROM nextcloud: | ||
| + | # See https:// | ||
| + | # | ||
| + | # | ||
| + | # that give the latest release | ||
| + | |||
| + | RUN apk add --no-cache imagemagick-svg supervisor \ | ||
| + | && mkdir / | ||
| + | |||
| + | COPY supervisord.conf / | ||
| + | |||
| + | ENV NEXTCLOUD_UPDATE=1 | ||
| + | |||
| + | CMD ["/ | ||
| + | ++++ | ||
| + | |||
| + | ++++supervisord.conf| | ||
| + | <code yaml> | ||
| + | nodaemon=true | ||
| + | logfile=/ | ||
| + | pidfile=/ | ||
| + | childlogdir=/ | ||
| + | logfile_maxbytes=50MB | ||
| + | logfile_backups=10 | ||
| + | loglevel=error | ||
| + | |||
| + | [program: | ||
| + | stdout_logfile=/ | ||
| + | stdout_logfile_maxbytes=0 | ||
| + | stderr_logfile=/ | ||
| + | stderr_logfile_maxbytes=0 | ||
| + | command=php-fpm | ||
| + | |||
| + | [program: | ||
| + | stdout_logfile=/ | ||
| + | stdout_logfile_maxbytes=0 | ||
| + | stderr_logfile=/ | ||
| + | stderr_logfile_maxbytes=0 | ||
| + | command=/ | ||
| + | ++++ | ||
| + | ++++docker-compose.yml| | ||
| + | <code yaml> | ||
| + | services: | ||
| + | app: | ||
| + | build: ./ | ||
| + | image: nextcloud-fpm-cron: | ||
| + | # image: nextcloud: | ||
| + | restart: always | ||
| + | depends_on: | ||
| + | - db | ||
| + | - redis | ||
| + | volumes: | ||
| + | - / | ||
| + | - / | ||
| + | - / | ||
| + | - / | ||
| + | networks: | ||
| + | - proxy | ||
| + | environment: | ||
| + | - MYSQL_PASSWORD=kpb1670 | ||
| + | - MYSQL_DATABASE=nextcloud | ||
| + | - MYSQL_USER=nextcloud | ||
| + | - MYSQL_HOST=db | ||
| + | - REDIS_HOST=redis | ||
| + | |||
| + | db: | ||
| + | image: mariadb: | ||
| + | restart: always | ||
| + | command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW | ||
| + | volumes: | ||
| + | - / | ||
| + | environment: | ||
| + | - MYSQL_ROOT_PASSWORD=kpb8487 | ||
| + | - MYSQL_PASSWORD=kpb1670 | ||
| + | - MYSQL_DATABASE=nextcloud | ||
| + | - MYSQL_USER=nextcloud | ||
| + | - MARIADB_AUTO_UPGRADE=1 | ||
| + | networks: | ||
| + | - proxy | ||
| + | |||
| + | redis: | ||
| + | image: redis: | ||
| + | restart: always | ||
| + | networks: | ||
| + | - proxy | ||
| + | |||
| + | web: | ||
| + | image: nginx | ||
| + | restart: always | ||
| + | ports: | ||
| + | - 8180:80 | ||
| + | depends_on: | ||
| + | - app | ||
| + | volumes: | ||
| + | - ./ | ||
| + | volumes_from: | ||
| + | - app | ||
| + | networks: | ||
| + | - proxy | ||
| + | |||
| + | volumes: | ||
| + | nextcloud: | ||
| + | db: | ||
| + | |||
| + | networks: | ||
| + | proxy: | ||
| + | external: true | ||
| + | </ | ||
| + | ++++ | ||
| ====RedirectRegex==== | ====RedirectRegex==== | ||
| I get a redirect error in Nextcloud that I have not been able to track down to date. Does not seem much info in this on the net, and the little there is also indicates a problem without and easy solution. | I get a redirect error in Nextcloud that I have not been able to track down to date. Does not seem much info in this on the net, and the little there is also indicates a problem without and easy solution. | ||
| Line 38: | Line 154: | ||
| ====Installing and Using MariaDB via Docker==== | ====Installing and Using MariaDB via Docker==== | ||
| [[https:// | [[https:// | ||
| - | [[start]] | + | |
| + | ====Incorrect row format found in your database==== | ||
| + | First step is to backup database. | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| ====logging==== | ====logging==== | ||
| Line 443: | Line 563: | ||
| *[[https:// | *[[https:// | ||
| + | =====Whiteboard App===== | ||
| + | The official whiteboard app for Nextcloud. It allows users to create and share whiteboards with other users and collaborate in real-time. | ||
| + | *[[https:// | ||
| =====Other Possible Apps/ | =====Other Possible Apps/ | ||
| *[[https:// | *[[https:// | ||