You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i tried to setup nextcloud:fpm on my Ubuntu Linux 18.04.02 LTS Server.
I did NOT follow one of the thousands of tutorials adding another Webserver proxy container with docker compose, but tried to use my existing apache server (v2.4.29) running natively on my host (as the nextcloud Docker documentation page says it is possible).
Unfortunately i can not use the default directory (/var/www/html) on my host, and thats where the Problem begins.
My Setup:
docker run -d -v /var/docker/nextcloud/html:/var/www/html -p 9000:9000 nextcloud:fpm
It took me some time to get this partially working setup. But the ProxyPass seems not to be correct. When i forward fcgi requests this way, i can not handle any files with whitespaces or umlauts in their names (add/delete/create/... fails silently)!
The Examples i found for use with a separate proxy container all use another way to pass data to fcgi:
This does not work in my case, as the directories on host and in docker differs from each other (/var/docker/nextcloud/html vs /var/www/html), so the requests result in sth. like fcgi://127.0.0.1:9000/var/docker/nextcloud/html/index.php (which does not exist in the container).
All Documentation i found lacks a hint on this.
Can somebody help me to fix that?
The text was updated successfully, but these errors were encountered:
The issue is the different docroot. This is set by Apache by force to the Apache docroot and is sent to the FPM. But the path inside the NC container is different (/var/www/html).
Hello,
i tried to setup nextcloud:fpm on my Ubuntu Linux 18.04.02 LTS Server.
I did NOT follow one of the thousands of tutorials adding another Webserver proxy container with docker compose, but tried to use my existing apache server (v2.4.29) running natively on my host (as the nextcloud Docker documentation page says it is possible).
Unfortunately i can not use the default directory (/var/www/html) on my host, and thats where the Problem begins.
My Setup:
and my Apache config (partial)
It took me some time to get this partially working setup. But the ProxyPass seems not to be correct. When i forward fcgi requests this way, i can not handle any files with whitespaces or umlauts in their names (add/delete/create/... fails silently)!
The Examples i found for use with a separate proxy container all use another way to pass data to fcgi:
This does not work in my case, as the directories on host and in docker differs from each other (/var/docker/nextcloud/html vs /var/www/html), so the requests result in sth. like fcgi://127.0.0.1:9000/var/docker/nextcloud/html/index.php (which does not exist in the container).
All Documentation i found lacks a hint on this.
Can somebody help me to fix that?
The text was updated successfully, but these errors were encountered: