OMV intercepts nextcloud setup login with 404 error Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
tdlam1

OMV intercepts nextcloud setup login with 404 error

Post by tdlam1 »

hello folks,
First off I want to thank those responsible for this DietPi image.
I have installed nextcloud, open media vault and plex media server when I first set up the DietPi.
OMV is working great and have no issues with it handling my SMB shares and FTP shares.
My problem is that I can't log into nextcloud to get it configured because when I enter "192.168.X.X/nextcloud" OMV thinks I'm trying to access it since it is on the same local IP and pukes up an error "404 page not found". :roll:
Is there another way to log into nextcloud so I can get it configured other that above? :?

Thanks in advance for your help and wishing you all the best

tdlam1
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: OMV intercepts nextcloud setup login with 404 error

Post by Fourdee »

tdlam1 wrote:hello folks,
First off I want to thank those responsible for this DietPi image.
I have installed nextcloud, open media vault and plex media server when I first set up the DietPi.
OMV is working great and have no issues with it handling my SMB shares and FTP shares.
My problem is that I can't log into nextcloud to get it configured because when I enter "192.168.X.X/nextcloud" OMV thinks I'm trying to access it since it is on the same local IP and pukes up an error "404 page not found". :roll:
Is there another way to log into nextcloud so I can get it configured other that above? :?

Thanks in advance for your help and wishing you all the best

tdlam1
Hi,

OMV isnt fully compatible with DietPi. Although we offer this installation for our users, we recommend if using OMV, solely use OMV and nothing else from dietpi-config or dietpi-software.

The reason for this is we cant control what OMV does, how it wants to do it, or, make it fully compatible with DietPi's method of standard linux configurations.

Here is an example of how OMV deals with /etc/fstab entries. It wont see any manual + standard entries, unless its contained with the headers # >>> [openmediavault]:
https://github.com/Fourdee/DietPi/issue ... -274332945
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
crik91
Posts: 48
Joined: Mon Mar 20, 2017 7:51 am

Re: OMV intercepts nextcloud setup login with 404 error

Post by crik91 »

Same issue here. I can't use OwnCloud or Nextcloud. Any way to solve? Thank you
Hi, I have a Raspberry Pi 3 model B with DietPi V147. I'm using it with OpenMediaVault on port 80. I installed OwnCloud via diet-software and if I go to MYRASPI_IP/owncloud I can see an error page from OpenMediaVault. So, I changed OMV port from web GUI to 1234, reinstalled OwnCloud and rebooted but if I type MYRASPI_IP/owncloud I cannot see anything.

I don't know why.

Sorry for my bad english, is not my mother tongue.

Code: Select all

root@DietPi:~# ls /etc/apache2/conf-available/
javascript-common.conf	owncloud.conf  php5-cgi.conf
root@DietPi:~# ls /var/www/owncloud/
3rdparty  console.php	db_structure.xml  lib		remote.php  themes
apps	  COPYING-AGPL	etc		  occ		resources   updater
assets	  core		index.html	  ocs		robots.txt  version.php
AUTHORS   cron.php	index.php	  ocs-provider	settings
config	  data		l10n		  public.php	status.php
root@DietPi:~# 
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: OMV intercepts nextcloud setup login with 404 error

Post by Fourdee »

crik91 wrote:Same issue here. I can't use OwnCloud or Nextcloud. Any way to solve? Thank you
Hi,

Thanks for the report.

I believe the issue is OMV applies a default webserver configuration file, that limits the system to OMV usage only. You'd need to either tweak our default webserver config file (https://github.com/Fourdee/DietPi/blob/ ... essie.conf) to include support for OMV (unsure how at the moment), or, manually add server configs for NextCloud.

We cant control OMV, or really support it along side dietpi-software/dietpi-config, its just not compatible. Ideally, i'd recommend using solely DietPi and the tools available, to replace OMV entirely.

As we cant truly support OMV along side DietPi, I may consider removing it from the DietPi-Software catalog to prevent similar issues reported by our users.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
crik91
Posts: 48
Joined: Mon Mar 20, 2017 7:51 am

Re: OMV intercepts nextcloud setup login with 404 error

Post by crik91 »

Maybe I can solve removing optimized OMV and install it in the normal way? And then install Nextcloud using Apache2 as web server because I don't think that may work with nginx.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: OMV intercepts nextcloud setup login with 404 error

Post by Fourdee »

crik91 wrote:Maybe I can solve removing optimized OMV and install it in the normal way? And then install Nextcloud using Apache2 as web server because I don't think that may work with nginx.
No idea sorrry, You'd have to try it and let us know if this method works for you.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
crik91
Posts: 48
Joined: Mon Mar 20, 2017 7:51 am

Re: OMV intercepts nextcloud setup login with 404 error

Post by crik91 »

Ok, I'll try and I'll let you know.
crik91
Posts: 48
Joined: Mon Mar 20, 2017 7:51 am

Re: OMV intercepts nextcloud setup login with 404 error

Post by crik91 »

Tried in different ways. Following this guide i can see a Nextcloud page via browser but it tolds me that cannot find MySQL driver. I think that is the last problem to solve to have Nextcloud and OMV fully working together.

I have a question: I installed DietPi and change web server from Apache2 to nginx, then installed OMV and Transmission, then nothing else. Can I access to the MySQL database? Maybe via phpMyAdmin?
Thank you
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: OMV intercepts nextcloud setup login with 404 error

Post by Fourdee »

crik91 wrote: Can I access to the MySQL database? Maybe via phpMyAdmin?
Yep, you'll need to install phpmyadmin 1st, in dietpi-software under web server:
http://dietpi.com/phpbb/viewtopic.php?f ... art=10#p54
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply