The site name in the Apache config is correct and the command shows the configs are loaded.
VirtualHost configuration:
*:80 is a NameVirtualHost
default server cloud.mygood.url (/etc/apache2/sites-enabled/010-nextcloud.conf:1)
port 80 namevhost cloud.mygood.url (/etc/apache2/sites-enabled/010-nextcloud.conf:1)
port 80 namevhost office.mygood.url (/etc/apache2/sites-enabled/011-collabora.conf:1)
port 80 namevhost Name (/etc/apache2/sites-enabled/999-catchall.conf:1)
*:443 is a NameVirtualHost
default server cloud.mygood.url (/etc/apache2/sites-enabled/010-nextcloud.conf:15)
port 443 namevhost cloud.mygood.url (/etc/apache2/sites-enabled/010-nextcloud.conf:15)
port 443 namevhost office.mygood.url (/etc/apache2/sites-enabled/011-collabora.conf:26)
port 443 namevhost Name (/etc/apache2/sites-enabled/999-catchall.conf:7)
Thank you for this instruction
I have a question for enabling the smb feature, I donât understand what really need to add to Dockerfile
Can please post example file ? and what exactly commands to use
and the rebuild task will remove all my settings on the nextcloud ?
What if I want to run Nextcloud and Collabora on different machines in the same network?
For instance, consider that Nextcloud is on 192.168.0.1 and Collabora is on 192.168.0.2. What should be changed on your tutorial so the connection between both servers is kept local?
For those interested, Iâve put together a small project that puts all this together and adds mail server to it. For those having difficulty you can try using my project to see how i configured it because i currently run this on a $5 vps. https://gitlab.com/rdfedor/docker-mailcloud
I think I have found the problem. I thought Iâd fixed it before. Some of the âquotesâ ended up as âquotesâ because I edited the post on my phone at one point, and I guess Apple feels that the nonstandard quotes are better. Turns out Docker doesnât appreciate Appleâs artsy-fartsy quotes and will barf if theyâre in the compose file.
I mean, at least 3 of us mentionnened this little mistake in this great tutorial. If the author doesnât have the time to make a correction, maybe a moderator should ?
VPN Problem with Nextcloud
Thanks to KarlF12 I finally have a quite performant NextCloud! Thanks a lot
Now the next problem has occurred: VPN.
For Nextcloud to run smoothly, I had to set up my own dns server with dnsmasq (and register it in the router).
As soon as I connect via VPN, the Nextcloud domain becomes unreachable.
Does anyone have an idea what this might have to do with?
Quite possibly DNS again to be honest. DNS can be funny with VPNs. So the first thing to check is, when you are offsite and connect your VPN, what DNS server are you using? You may need to configure your VPN to use your dnsmasq as the DNS server while the VPN is connected.
Itâs also possible the VPN itself is not working as intended. Can you ping your Nextcloud server by its local IP address over the VPN?
I spent untold hours of my precious spare time figuring all this out, and then some more writing up a proper guide, and some more still doing a test installation following my own steps to make sure it worked. Sorry if you arenât satisfied with it.
As I said I thought I had fixed all the quotes my iPhone swapped out back in August but evidently not.
Iâm totally satisfied and enjoy tour work !! whoever said he wasnât satisfied would be a terrible bastard since thereâs only very few settings to add (like settings HTTP_X_FORWARDED_FOR in config.php)
You did 99.9% of the job, the least thing would be to make this obvious fix for you and not bother you with it given the extent of the work done. I regret that we could not do that for you, it is disrespectful of the great work provided to the community that must be proud to have someone like you to help all of us
When trying to update my docker image with smb support, Iâve followed the instructions up to here including not changing permissions on html and mariadb (mariadb folder is filled with red x icons on every file/folder), when I use docker-compose build --pull I get:
Building nextcloud
Traceback (most recent call last):
File âbin/docker-composeâ, line 3, in
File âcompose/cli/main.pyâ, line 67, in main
File âcompose/cli/main.pyâ, line 126, in perform_command
File âcompose/cli/main.pyâ, line 302, in build
File âcompose/project.pyâ, line 468, in build
File âcompose/project.pyâ, line 450, in build_service
File âcompose/service.pyâ, line 1125, in build
File âdocker/api/build.pyâ, line 160, in build
File âdocker/utils/build.pyâ, line 30, in tar
File âdocker/utils/build.pyâ, line 49, in exclude_paths
File âdocker/utils/build.pyâ, line 214, in rec_walk
File âdocker/utils/build.pyâ, line 214, in rec_walk
File âdocker/utils/build.pyâ, line 184, in rec_walk
PermissionError: [Errno 13] Permission denied: â/home/username/nextcloud/mariadb/nextcloudâ
[35533] Failed to execute script docker-compose
Thank you very much for this tutorial, prior to this I was using snap nextcloud but felt limited. I did run into an error on step 6. Setting up nextcloud. I hit the setup page and when I attempted to create the admin account, it spun for awhile and then failed. Now I just get a generic error when attempting to hit my url. I reviewed the logs but they didnât seem to provide anything too beneficial. The only question I had during setup was the NEXTCLOUD_IPADDRESS=10.20.30.40. I set this to the internal IP of the computer? Iâm not sure if that would impact anything as I was able to hit the site.
This should be set to the LAN IP of the system running Docker (not the container IP or public IP). This is used to create /etc/hosts entries within the containers to ensure that NC and CODE connect to each other via the reverse proxy where they will be presented a valid certificate.
If youâre not using Collabora or are using the built-in version, this probably isnât needed.
This was actually the hint that solved my issue. My VPN did block it by configuration and i wasnât aware this was even an option
My wife and me are enjoing the nextcloud setup so much for the last few weeks and really hope this will proof to run solid. Than we can migrate things like the calender into it and we are quite excited.
Thank you very much for this HowTo. Unfortunately the nextcloud does not run as desired. When I start nextcloud for the first time, I get the following error message: