Comments (16)
SOLUTION: In the Caddyfile, remove "tls { }" it should be a line high up on the file that should just be empty brackets after running remove-staging.sh. Removing these brackets and tls has got it working again.
More specifically:
nano /usr/local/www/Caddyfile
Find those lines with "tls {" and the closing bracket "}" and delete them.
Then CTRL+X, press "y" and enter
Then restart caddy "service caddy restart"
Then run "service caddy status"
If you get "caddy is running as pid ####" then it is working and you should be able to access nextcloud at your domain.
from freenas-iocage-nextcloud.
Hi.
Do you got a solution for this? I got the same issu at 12-6 und 13 Beta.
from freenas-iocage-nextcloud.
from freenas-iocage-nextcloud.
I've got the exact same issue.
"Secure Connection Failed" "PR_END_OF_FILE_ERROR"
"The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem."
from freenas-iocage-nextcloud.
@bosp1301 I tried to do the same thing with Ubuntu with a 500G zvol but it's only detecting the max size as 110 when adding nextcloud as a network drive anywhere else. Did you run into the same issue or was it flawless?
from freenas-iocage-nextcloud.
from freenas-iocage-nextcloud.
@bosp1301 it is attached to the root partition "/". But besides mounting the whole thing elsewhere how do you fix it? It's the only drive on the system besides loop#.
from freenas-iocage-nextcloud.
from freenas-iocage-nextcloud.
@bosp1301 so you did this before installing nextcloud? If I did that right now I'd remove everything since I already have it installed. Also, expand the root partition, what do you mean?
from freenas-iocage-nextcloud.
Help me out here--what does the discussion about running Nextcloud in a Linux VM have to do with this script?
from freenas-iocage-nextcloud.
The only thing the script should do is remove one line from /usr/local/www/Caddyfile
, that line being the one that reads ca https://acme-staging-v02.api.letsencrypt.org/directory
. If you're having trouble reaching the Nextcloud web interface after running the remove-staging
script, see if that line has been removed from the Caddyfile. If it has, see if Caddy is running (service caddy status
); if not, try to start it (service caddy start
).
from freenas-iocage-nextcloud.
from freenas-iocage-nextcloud.
@danb35 I've tried to start the caddy service but when loading the page it still responds with "refused to connect" and then when "service caddy status" it states it's not running. After restarting the jail it starts with caddy not running.
Also sorry for discussing irrelevant matters, but it feels like it's impossible to get nextcloud running on Freenas with letsencrypt and I thought it would be another option.
from freenas-iocage-nextcloud.
Thanks, and that explains why I wasn't able to duplicate the issue--I use DNS validation, and that means that stanza of the Caddyfile wouldn't be empty even after the remove-staging script is run.
Now to see if there's a way to make the appropriate changes to both environments by script...
from freenas-iocage-nextcloud.
from freenas-iocage-nextcloud.
I think my last commit to remove-staging.sh should resolve this issue--rather than remove that line, it simply changes the URL to be the production CA. It's redundant (Caddy will use that URL automatically if it isn't specified), but it avoids the problem with the Caddyfile syntax when there isn't a dns
directive in the tls { }
stanza.
from freenas-iocage-nextcloud.
Related Issues (20)
- Installation debugging. HOT 1
- TrueNAS CORE 13.0 support - issues found HOT 1
- Redis issue on reinstall HOT 1
- Stopped nextcloud due to VNET failure: Failed to create jail HOT 4
- mariadb103 becomes unsupported in May 2023
- Cant access nextcloud via web after running script HOT 2
- Failed to create MariaDb database aborting HOT 4
- Nextcloud 27 - Major things broken HOT 1
- Failed to install Nextcloud HOT 11
- record size for database dataset: 16K or 32K? HOT 2
- Installation fails when using PostgreSQL
- Connect with IP address?
- 'Failed to download Nextcloud' HOT 8
- DNS challenge fails with ZeroSSL in Caddy in production, works in staging HOT 2
- cant access the Nextcloud url from inside my network on mobile devices HOT 1
- Unable to connect to nextcloud after successful install HOT 7
- download.htm "site wasn't available" when downloading a folder HOT 3
- Issues after fresh install using latest (new) Nextcloud version 29 HOT 3
- Installation fails when using Postgres (pgsql) HOT 7
- Certificate is not trusted HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freenas-iocage-nextcloud.