Compare commits

...

9 Commits

Author SHA1 Message Date
Simon L
c16d15ee19 increase to 6.2.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-22 12:32:44 +02:00
Simon L
42affc7d73 add aio-config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-22 12:31:59 +02:00
Simon L
166dc3a17c Merge pull request #2843 from nextcloud/nextcloud-container-update
Nextcloud update
2023-06-22 12:29:31 +02:00
szaimen
b7bd7132bd nextcloud-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-22 10:28:07 +00:00
Simon L
5e160b1bfe fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:17:43 +02:00
Simon L
3538f55fc3 make hint better visible
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:15:55 +02:00
Simon L
d106673e78 adjust debug steps a bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:15:15 +02:00
Simon L
b7c5e0b953 rp docs - switch order of nginx-proxy-manager and nginx-proxy
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 20:12:59 +02:00
Simon L
c6f78ed87c fix emptydir
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 17:49:08 +02:00
5 changed files with 25 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ FROM php:8.1.20-fpm-alpine3.18
ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600
ENV NEXTCLOUD_VERSION 26.0.2
ENV NEXTCLOUD_VERSION 26.0.3
ENV AIO_TOKEN 123456
ENV AIO_URL localhost

View File

@@ -0,0 +1,5 @@
<?php
$CONFIG = array (
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
);

View File

@@ -115,7 +115,7 @@ find ./ -name '*deployment.yaml' -exec sed -i "s|manual-install-nextcloud-aio|ne
# shellcheck disable=SC1083
find ./ -name '*deployment.yaml' -exec sed -i "/medium: Memory/d" \{} \;
# shellcheck disable=SC1083
find ./ -name '*deployment.yaml' -exec sed -i "s|emptyDir:|emptyDir: {}|" \{} \;
find ./ -name '*deployment.yaml' -exec sed -i "s|emptyDir:|emptyDir: \{\}|" \{} \;
# shellcheck disable=SC1083
find ./ -name '*persistentvolumeclaim.yaml' -exec sed -i "s|ReadOnlyMany|ReadWriteOnce|" \{} \;
# shellcheck disable=SC1083

View File

@@ -16,7 +16,7 @@
</header>
<div class="content">
<h1>Nextcloud AIO v6.2.0</h1>
<h1>Nextcloud AIO v6.2.1</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>

View File

@@ -340,21 +340,6 @@ Of course you need to modify `<your-nc-domain>` to the domain on which you want
</details>
### Nginx-Proxy
<details>
<summary>click here to expand</summary>
Unfortunately it is not possible to configure nginx-proxy in a way that works because it completely relies on environmental variables of the docker containers itself. Providing these variables does not work as stated above.
If you really want to use AIO, we recommend you to switch to caddy. It is simply amazing!<br>
Of course understandable if that is not possible for you.
Apart from that, there is this: [manual-install](https://github.com/nextcloud/all-in-one/tree/main/manual-install)
</details>
### Nginx-Proxy-Manager
<details>
@@ -384,6 +369,21 @@ Of course you need to modify `<your-nc-domain>` to the domain on which you want
</details>
### Nginx-Proxy
<details>
<summary>click here to expand</summary>
Unfortunately it is not possible to configure nginx-proxy in a way that works because it completely relies on environmental variables of the docker containers itself. Providing these variables does not work as stated above.
If you really want to use AIO, we recommend you to switch to caddy. It is simply amazing!<br>
Of course understandable if that is not possible for you.
Apart from that, there is this: [manual-install](https://github.com/nextcloud/all-in-one/tree/main/manual-install)
</details>
### Node.js with Express
<details>
@@ -668,9 +668,9 @@ Afterwards should the AIO interface be accessible via `https://ip.address.of.the
## 6. How to debug things?
If something does not work, follow the steps below:
1. Make sure to exactly follow the whole reverse proxy documentation step-for-step from top to bottom!
1. Make sure that you used the docker run command that is described in this reverse proxy documentation. Hint: make sure that you have set the APACHE_PORT during the docker run command!
1. Make sure that you used the docker run command that is described in this reverse proxy documentation. **Hint:** make sure that you have set the `APACHE_PORT` via e.g. `--env APACHE_PORT=11000` during the docker run command!
1. Make sure to set the `APACHE_IP_BINDING` variable correctly. If in doubt, set it to `--env APACHE_IP_BINDING=0.0.0.0`
1. Make sure that all ports match the chosen `APACHE_PORT`.
1. Make sure that all ports to which your reverse proxy is pointing match the chosen `APACHE_PORT`.
1. Make sure that the reverse proxy is running on the host OS or if running in a container, connected to the host network. If that is not possible (e.g. on Windows or if the reverse proxy is running on a different host), substitute `localhost` or `127.0.0.1` in the default configurations by the private ip-address of the host that is running the docker daemon. If you are not sure how to retrieve that, you can run: `ip a | grep "scope global" | head -1 | awk '{print $2}' | sed 's|/.*||'`. If the command returns a public ip-address, use `ip a | grep "scope global" | grep docker0 | awk '{print $2}' | sed 's|/.*||'` instead (the commands only work on Linux)
1. Make sure that the mastercontainer is able to spawn other containers. You can do so by checking that the mastercontainer indeed has access to the Docker socket which might not be positioned in one of the suggested directories like `/var/run/docker.sock` but in a different directory, based on your OS and the way how you installed Docker. The mastercontainer logs should help figuring this out. You can have a look at them by running `sudo docker logs nextcloud-aio-mastercontainer` after the container is started the first time.
1. Check if after the mastercontainer was started, the reverse proxy if running inside a container, can reach the provided apache port. You can test this by running `nc -z localhost 11000; echo $?` from inside the reverse proxy container. If the output is `0`, everything works. Alternatively you can of course use instead of `localhost` the ip-address of the host here for the test.