Coder Social home page Coder Social logo

mother-of-all-self-hosting / ansible-role-nextcloud Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 7.0 87 KB

An Ansible role for installing the Nextcloud groupware server

License: GNU Affero General Public License v3.0

Jinja 93.35% Just 1.41% Shell 5.24%
ansible-role docker nextcloud

ansible-role-nextcloud's Introduction

ansible-role-nextcloud's People

Contributors

brush avatar hooger avatar iucca avatar moan0s avatar mxwmnn avatar nielscil avatar philipphomann avatar qeded avatar spantaleev avatar sudo-tiz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-role-nextcloud's Issues

`nextcloud_base_path` expansion

Hi. I'm trying to install a second nextcloud instance within my mash-server, using a second playbook with a different nextcloud_identifier. However I'm wondering if I got the idea wrong, because the installation path of nextcloud is not being adapted.

Here it says

nextcloud_base_path: "{{ nextcloud_base_path }}/nextcloud"

where intuitively I'd expect

nextcloud_base_path: "{{ nextcloud_identifier }}/"

or maybe installing a second nextcloud actually needs a second mash-instance...?

/entrypoint.sh: 78: cannot create /usr/local/etc/php/conf.d/redis-session.ini: Read-only file system

With basic install my mash-nextcloud-server log says this:

/entrypoint.sh: 78: cannot create /usr/local/etc/php/conf.d/redis-session.ini: Read-only file system

It seems that nextcloud/docker#763 (comment) solves that issue. As I have other troubles I am not 100% sure it does fixes the problem always and does not introduce other issues. Also I wasn't sure how to check if redis is used, or where to put the redis-session file, so I opened this issue here.

Why bind the `data` directory the `/var/www/html`?

Currently, this creates a bind point for the data directory to the /var/www/html directory within the container

--mount type=bind,src={{ nextcloud_data_path }},dst=/var/www/html \

Wouldn't we want to use the nextcloud_base_path instead? Shouldn't the data directory be mounted at /var/www/html/data point within the container?

Currently I have a folder for Nextcloud data on NFS. When I provided this role the /mnt/nas data directory in the variable nextcloud_data_path, the Nextcloud container wasn't able to run. However, when I set this line:

--mount type=bind,src={{ nextcloud_data_path }},dst=/var/www/html \

To

--mount type=bind,src={{ nextcloud_base_path }},dst=/var/www/html

It at least ran, but wasn't able to find any configuration files...

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.