Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Help with Setup #276

Open
Happyfeet01 opened this issue Jul 22, 2018 · 0 comments
Open

Help with Setup #276

Happyfeet01 opened this issue Jul 22, 2018 · 0 comments

Comments

@Happyfeet01
Copy link

Hello,

i currently try to setup Nextcloud with Docker Compose. It seems that all things running but i can´t conect with the Browser. The ports are open.
The Container using the correct Network.

Here is my config;

docker-compose.yml:

version: '3'

networks:
  nextcloud_network:
    external: false

services:
  nextcloud:
   image: wonderfall/nextcloud
   depends_on:
   - nextcloud-db # If using MySQL 
   - solr # If using Nextant
   - redis # If using Redis
   environment:
   - UID=1000
   - GID=1000
   - UPLOAD_MAX_SIZE=10G
   - APC_SHM_SIZE=128M
   - OPCACHE_MEM_SIZE=128
   - CRON_PERIOD=15m
   - TZ=Europe/Berlin
   - ADMIN_USER=admin # Don't set to configure through browser
   - ADMIN_PASSWORD=admin # Don't set to configure through browser
   - DOMAIN=localhost
   - DB_TYPE=mysql
   - DB_NAME=nextcloud
   - DB_USER=nextcloud
   - DB_PASSWORD=password
   - DB_HOST=nextcloud-db
   volumes:
   - /docker/nextcloud/data:/data
   - /docker/nextcloud/config:/config
   - /docker/nextcloud/apps:/apps
   - /docker/nextcloud/themes:/nextcloud/themes
   networks:
   - nextcloud_network

#If using MySQL 
  nextcloud-db:
    image: mariadb:10
    volumes:
     - /docker/nextcloud/db:/var/lib/mysql
    environment:
     - MYSQL_ROOT_PASSWORD=password
     - MYSQL_DATABASE=nextcloud
     - MYSQL_USER=nextcloud
     - MYSQL_PASSWORD=password
    networks:
     - nextcloud_network

  # If using Nextant
  solr:
    image: solr:6-alpine
    container_name: solr
    volumes:
     - /docker/nextcloud/solr:/opt/solr/server/solr/mycores
    entrypoint:
     - docker-entrypoint.sh
     - solr-precreate
     - nextant
    networks:
     - nextcloud_network

  # If using Redis
  redis:
    image: redis:alpine
    container_name: redis
    volumes:
      - /docker/nextcloud/redis:/data
    networks:
      - nextcloud_network

 #collabora

  collabora:
    image: collabora/code
    expose:
      - 9980
    cap_add:
      - MKNOD
    environment:
      - domain=cloud.domain.tld
      - VIRTUAL_HOST=office.domain.tld
      - VIRTUAL_NETWORK=nextcloud_network
      - VIRTUAL_PORT=9980
      - VIRTUAL_PROTO=https
     # - LETSENCRYPT_HOST=<office.domain.tld>
     # - LETSENCRYPT_EMAIL=<[email protected]>
    networks:
      - nextcloud_network

Nextcloud log:

Updating permissions...
Updating permissions in /nextcloud...
Permissions in /data are correct.
Permissions in /config are correct.
Permissions in /apps2 are correct.
Updating permissions in /var/log...
Updating permissions in /php...
Updating permissions in /nginx...
Updating permissions in /tmp...
Updating permissions in /etc/s6.d...
Done updating permissions.
Nextcloud is already latest version

MariaDB log:

2018-07-22  4:30:50 0 [Note] mysqld (mysqld 10.3.8-MariaDB-1:10.3.8+maria~jessie) starting as process 1 ...
2018-07-22  4:30:50 0 [Note] InnoDB: Using Linux native AIO
2018-07-22  4:30:50 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-07-22  4:30:50 0 [Note] InnoDB: Uses event mutexes
2018-07-22  4:30:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-07-22  4:30:50 0 [Note] InnoDB: Number of pools: 1
2018-07-22  4:30:50 0 [Note] InnoDB: Using SSE2 crc32 instructions
2018-07-22  4:30:50 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2018-07-22  4:30:50 0 [Note] InnoDB: Completed initialization of buffer pool
2018-07-22  4:30:50 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-07-22  4:30:50 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=6892129
2018-07-22  4:30:52 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2018-07-22  4:30:52 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-07-22  4:30:52 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-07-22  4:30:52 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-07-22  4:30:52 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-07-22  4:30:52 0 [Note] InnoDB: Waiting for purge to start
2018-07-22  4:30:52 0 [Note] InnoDB: 10.3.8 started; log sequence number 6892138; transaction id 27868
2018-07-22  4:30:52 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2018-07-22  4:30:52 0 [Note] Plugin 'FEEDBACK' is disabled.
2018-07-22  4:30:52 0 [Note] Recovering after a crash using tc.log
2018-07-22  4:30:52 0 [Note] Starting crash recovery...
2018-07-22  4:30:52 0 [Note] Crash recovery finished.
2018-07-22  4:30:52 0 [Note] Server socket created on IP: '::'.
2018-07-22  4:30:52 0 [Warning] 'proxies_priv' entry '@% root@eb473d0e8a4a' ignored in --skip-name-resolve mode.
2018-07-22  4:30:52 0 [Note] Reading of all Master_info entries succeded
2018-07-22  4:30:52 0 [Note] Added new Master_info '' to hash table
2018-07-22  4:30:52 0 [Note] mysqld: ready for connections.
Version: '10.3.8-MariaDB-1:10.3.8+maria~jessie'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
2018-07-22  4:30:52 0 [Note] InnoDB: Buffer pool(s) load completed at 180722  4:30:52
2018-07-22  4:35:15 0 [Note] mysqld (initiated by: unknown): Normal shutdown
2018-07-22  4:35:15 0 [Note] InnoDB: FTS optimize thread exiting.
2018-07-22  4:35:15 0 [Note] Event Scheduler: Purging the queue. 0 events
2018-07-22  4:35:15 0 [Note] InnoDB: Starting shutdown...
2018-07-22  4:35:15 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2018-07-22  4:35:15 0 [Note] InnoDB: Buffer pool(s) dump completed at 180722  4:35:15
2018-07-22  4:35:17 0 [Note] InnoDB: Shutdown completed; log sequence number 6892156; transaction id 27869
2018-07-22  4:35:17 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-07-22  4:35:17 0 [Note] mysqld: Shutdown complete

2018-07-22  4:35:54 0 [Note] mysqld (mysqld 10.3.8-MariaDB-1:10.3.8+maria~jessie) starting as process 1 ...
2018-07-22  4:35:54 0 [Note] InnoDB: Using Linux native AIO
2018-07-22  4:35:54 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-07-22  4:35:54 0 [Note] InnoDB: Uses event mutexes
2018-07-22  4:35:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-07-22  4:35:54 0 [Note] InnoDB: Number of pools: 1
2018-07-22  4:35:54 0 [Note] InnoDB: Using SSE2 crc32 instructions
2018-07-22  4:35:54 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2018-07-22  4:35:54 0 [Note] InnoDB: Completed initialization of buffer pool
2018-07-22  4:35:54 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-07-22  4:35:56 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2018-07-22  4:35:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-07-22  4:35:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-07-22  4:35:56 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-07-22  4:35:56 0 [Note] InnoDB: Waiting for purge to start
2018-07-22  4:35:56 0 [Note] InnoDB: 10.3.8 started; log sequence number 6892156; transaction id 27868
2018-07-22  4:35:56 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2018-07-22  4:35:56 0 [Note] Plugin 'FEEDBACK' is disabled.
2018-07-22  4:35:56 0 [Note] Server socket created on IP: '::'.
2018-07-22  4:35:56 0 [Warning] 'proxies_priv' entry '@% root@eb473d0e8a4a' ignored in --skip-name-resolve mode.
2018-07-22  4:35:56 0 [Note] Reading of all Master_info entries succeded
2018-07-22  4:35:56 0 [Note] Added new Master_info '' to hash table
2018-07-22  4:35:56 0 [Note] mysqld: ready for connections.
Version: '10.3.8-MariaDB-1:10.3.8+maria~jessie'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
2018-07-22  4:35:57 0 [Note] InnoDB: Buffer pool(s) load completed at 180722  4:35:57

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant