Giter Site home page Giter Site logo

Comments (16)

The-Jaeger avatar The-Jaeger commented on July 17, 2024 1

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.

Bosstox avatar Bosstox commented on July 17, 2024

Hi.

Do you got a solution for this? I got the same issu at 12-6 und 13 Beta.

from freenas-iocage-nextcloud.

BBBosp avatar BBBosp commented on July 17, 2024

from freenas-iocage-nextcloud.

The-Jaeger avatar The-Jaeger commented on July 17, 2024

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.

The-Jaeger avatar The-Jaeger commented on July 17, 2024

@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.

BBBosp avatar BBBosp commented on July 17, 2024

from freenas-iocage-nextcloud.

The-Jaeger avatar The-Jaeger commented on July 17, 2024

@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.

BBBosp avatar BBBosp commented on July 17, 2024

from freenas-iocage-nextcloud.

The-Jaeger avatar The-Jaeger commented on July 17, 2024

@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.

danb35 avatar danb35 commented on July 17, 2024

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.

danb35 avatar danb35 commented on July 17, 2024

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.

BBBosp avatar BBBosp commented on July 17, 2024

from freenas-iocage-nextcloud.

The-Jaeger avatar The-Jaeger commented on July 17, 2024

@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.

danb35 avatar danb35 commented on July 17, 2024

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.

The-Jaeger avatar The-Jaeger commented on July 17, 2024

from freenas-iocage-nextcloud.

danb35 avatar danb35 commented on July 17, 2024

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)

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.