Next(cloud) error off the rank

Having issues with your DietPi installation, or, found a bug? Post it here.
Deleted User 7758

Next(cloud) error off the rank

Post by Deleted User 7758 »

Hi,
Syncthing is now running.
I installed Nextcloud but receive an error when trying to access it via <my-ip>/nextcloud
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Where would I access the server log?

Is configuration best done via command line or web interface?

And does anyone have tutorial link for getting it set up to my domain, preferably at nextcloud.mydomain.net and getting it set up with certbot?
User avatar
Joulinar
Posts: 2049
Joined: Sat Nov 16, 2019 12:49 am

Re: Next(cloud) error off the rank

Post by Joulinar »

Where do you get this error message? Usually NextCloud is working out of the box. There is nothing to configure. It can be uesed directly after installation completed.

Regarding SSL, you can follow this guide
  1. (optional) create a clean DietPi installation and complete initial setup
  2. first you would need to have a DynDNS service that allow you to connect from outside world to your home network by using a dynamic domain name. If you already have a DDNS service, you can go to point 5
  3. to get a DDNS domain, you would need to register at https://www.noip.com/ first
  4. if you finished registration process, we can go to install No-IP software on your DietPi device
    • run dietpi-config
    • go to option 8 : Network Options: Misc
    • select No-IP
    • confirm installation
    • once installation of No-IP software is done, select No-IP again
    • enter your login credentials for No-IP
  5. if DDNS is working, continue with next step
  6. ensure Port 80 and 443 are forwarded (from your internet router) correctly to your DietPi device
  7. once ready, run dietpi-software, search and install NextCloud
  8. once installation completed and your system was rebooted, try to connect to your Webserver on http (port 80)
  9. pls try to connect from your LAN as well as from Internet, you should receive the Webserver Default Page
    • once you're able to connect to your Webserver from Internet on http (80), got to point 10. (https - port 443 will not work at this stage)
    • if you are not able to connect on http (80) from internet, you would need to check why and what's wrong with your port forwarding
  10. let's do the SSL certificate now, run dietpi-letsencrypt
  11. install CertBot
  12. once done you will be ask for your Let'sEncrypt information
    • fill in your domain name (No-IP DDNS)
    • fill in your email address
    • set Redirect to ON
    • Apply the setting
  13. once finished (and all services started) you should be able to reach your website on http (80) as well as https (443)
  14. if you are opening the website on http (80) you should be automatically redirected to https (443)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Deleted User 7758

Re: Next(cloud) error off the rank

Post by Deleted User 7758 »

Hi,
I get the error in the browser
Image

I have a domain name to use but I was just trying to access via the local ip address at this stage until I get some security in order.
User avatar
Joulinar
Posts: 2049
Joined: Sat Nov 16, 2019 12:49 am

Re: Next(cloud) error off the rank

Post by Joulinar »

you already get the issue by opening just the IP address http://192.168.20.19 ?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Deleted User 7758

Re: Next(cloud) error off the rank

Post by Deleted User 7758 »

In that case I get 403 Forbidden
User avatar
Joulinar
Posts: 2049
Joined: Sat Nov 16, 2019 12:49 am

Re: Next(cloud) error off the rank

Post by Joulinar »

are you running any other web application and which web server you are using?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Deleted User 7758

Re: Next(cloud) error off the rank

Post by Deleted User 7758 »

I'm not sure which web server i am using.
I think it's lighttpd.
I installed pihole, then synching (remember the permissions errors), then Nextcloud.
User avatar
Joulinar
Posts: 2049
Joined: Sat Nov 16, 2019 12:49 am

Re: Next(cloud) error off the rank

Post by Joulinar »

ah ok, PiHole is the bad guy. Usually PiHole will block the access to the web server if it is installed. I remember another case. Just need to find the solution.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Deleted User 7758

Re: Next(cloud) error off the rank

Post by Deleted User 7758 »

Oh OK
I would have thought pihole + something_else would be a popular combination
User avatar
Joulinar
Posts: 2049
Joined: Sat Nov 16, 2019 12:49 am

Re: Next(cloud) error off the rank

Post by Joulinar »

it's the way how PiHole is setting up the web server. Just need to find how it would need to change.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply