Coder Social home page Coder Social logo

Comments (6)

hoellen avatar hoellen commented on June 1, 2024

No this is not normal. Can you please give some more information (e.g. docker-compose files, Nextcloud config, logs, etc.) about your installation. I believe you are missing the second app directory in your config.

from dockerfiles.

Moimemeici avatar Moimemeici commented on June 1, 2024

i have 2 instances
one with :

    volumes:
      - /cloud/data:/data
      - /cloud/config/config_xxx:/config
      - /cloud/apps:/apps2
      - /cloud/themes_xxx:/nextcloud/themes

and other


    volumes:
      - /cloud/data_test:/data
      - /cloud/config/config_test:/config
      - /cloud/apps_test:/apps2
      - /cloud/themes_test:/nextcloud/themes

First not good but second is good

from dockerfiles.

Moimemeici avatar Moimemeici commented on June 1, 2024

i have 2 instances
one with :

  nextcloud-XXX:
    image: hoellen/nextcloud:latest
    container_name: nextcloud-XXX
    restart: always
    environment:
      - UID=991
      - GID=991
      - UPLOAD_MAX_SIZE=10G
      - APC_SHM_SIZE=128M
      - OPCACHE_MEM_SIZE=128
      - REDIS_MAX_MEMORY=64mb
      - CRON_PERIOD=15m
      - TZ=Europe/Paris
      - DB_TYPE=mysql
      - DB_NAME=XXXXXXXXXXXX
      - DB_USER=XXXXXXXXXXXX
      - DB_PASSWORD=XXXXXXXXXXXXXXXXXX
      - DB_HOST=mariadb-XXX
    volumes:
      - /cloud/data:/data
      - /cloud/config/config_XXX:/config
      - /cloud/apps:/apps2
      - /cloud/themes_XXX:/nextcloud/themes
    depends_on:
      - mariadb-XXX
      - solr
      - redis

and other

  nextcloud-test:
    image: hoellen/nextcloud:latest
    container_name: nextcloud-test
    restart: always
    environment:
      - UID=991
      - GID=991
      - UPLOAD_MAX_SIZE=10G
      - APC_SHM_SIZE=128M
      - OPCACHE_MEM_SIZE=128
      - REDIS_MAX_MEMORY=64mb
      - CRON_PERIOD=15m
      - TZ=Europe/Paris
      - DB_TYPE=mysql
      - DB_NAME=XXXXXXXXXXXX
      - DB_USER=XXXXXXXXXXXX
      - DB_PASSWORD=XXXXXXXXXXXX
      - DB_HOST=mariadb-test
    volumes:
      - /cloud/data_test:/data
      - /cloud/config/config_test:/config
      - /cloud/apps_test:/apps2
      - /cloud/themes_test:/nextcloud/themes
    depends_on:
      - mariadb-test
      - solr
      - redis

First not good but second is good

from dockerfiles.

Moimemeici avatar Moimemeici commented on June 1, 2024

on container with this command:
docker exec -it nextcloud-xxx /bin/sh
Apps directly installed on /nextcloud/apps not on /apps2

from dockerfiles.

Moimemeici avatar Moimemeici commented on June 1, 2024

on container with this command:
docker exec -it nextcloud-xxx /bin/sh
Apps directly installed on /nextcloud/apps not on /apps2

from dockerfiles.

hoellen avatar hoellen commented on June 1, 2024

Do you have the following in your Nextcloud config? (config/config.php):

[...]
'apps_paths' =>
array (
  0 =>
  array (
    'path' => '/apps',
    'url' => '/apps',
    'writable' => false,
  ),
  1 =>
array (
    'path' => '/apps2',
    'url' => '/apps2',
    'writable' => true,
  ),
),
[...]

That part is responsible to tell Nextcloud to use the /apps2 directory.

from dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.