New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | OMV 3 - Unable to create Shared Folders #721

Closed
LexiconCode opened this Issue Jan 20, 2017 · 11 comments

Comments

3 participants
@LexiconCode

LexiconCode commented Jan 20, 2017

Under "Shared Folders" you cannot select a Device since there are no options shown.

Hardware
Odroid C2

Configuration
Dietpi 142

Steps to reproduce

  1. Install OMV 3
  2. attach a USB hard drive (I've tried both setting up through Dietpi and mounting through is the OS) (formatted as ext4 )
  3. log into open media vault
  4. check "Physical Devices" - verify external hard drive and OS medium
  5. Go to "Shared Folders" and try to add a folder.
@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 22, 2017

Owner

@LexiconCode

Thanks, i'll take a look.

Owner

Fourdee commented Jan 22, 2017

@LexiconCode

Thanks, i'll take a look.

@Fourdee Fourdee added this to the v143 milestone Jan 22, 2017

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 22, 2017

Owner

Yep, looks like anything to do with:
"Select a device"

Results in no options.

Only error in log is (doesn't look related):

root@DietPi:~# cat /var/log/nginx/openmediavault-webgui_error.log
2017/01/22 13:38:39 [error] 1243#0: *28 open() "/var/www/openmediavault/omv" failed (2: No such file or directory), client: 192.168.0.22, server: openmediavault-webgui, request: "GET /omv HTTP/1.1", host: "192.168.0.112"
Owner

Fourdee commented Jan 22, 2017

Yep, looks like anything to do with:
"Select a device"

Results in no options.

Only error in log is (doesn't look related):

root@DietPi:~# cat /var/log/nginx/openmediavault-webgui_error.log
2017/01/22 13:38:39 [error] 1243#0: *28 open() "/var/www/openmediavault/omv" failed (2: No such file or directory), client: 192.168.0.22, server: openmediavault-webgui, request: "GET /omv HTTP/1.1", host: "192.168.0.112"
@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 22, 2017

Owner

Ok, looks like OMV scraping of /etc/fstab is not compatible with DietPi-Drive_manager or any manual USB drive additions.

OMV adds headers/blocks which (i'am assuming) OMV web interface and code, requires to work with:

# >>> [openmediavault]
UUID=45aa4dad-dfd2-492b-917f-11fb0ff3e29b /media/45aa4dad-dfd2-492b-917f-11fb0ff3e29b ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]

Basically, if you want to use OMV's features, only use OMV features:

  • dietpi-drive_manager, unmount drive and eject
  • exit
  • Plug drive back in
  • OMV > Physical Disks > Wipe
  • OMV > File Systems > Create
  • OMV > File Systems > Mount
  • OMV > Shared folders > Add

Drive is now available.

@LexiconCode if you can confirm above working, please let me know and i'll close this ticket.

Owner

Fourdee commented Jan 22, 2017

Ok, looks like OMV scraping of /etc/fstab is not compatible with DietPi-Drive_manager or any manual USB drive additions.

OMV adds headers/blocks which (i'am assuming) OMV web interface and code, requires to work with:

# >>> [openmediavault]
UUID=45aa4dad-dfd2-492b-917f-11fb0ff3e29b /media/45aa4dad-dfd2-492b-917f-11fb0ff3e29b ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]

Basically, if you want to use OMV's features, only use OMV features:

  • dietpi-drive_manager, unmount drive and eject
  • exit
  • Plug drive back in
  • OMV > Physical Disks > Wipe
  • OMV > File Systems > Create
  • OMV > File Systems > Mount
  • OMV > Shared folders > Add

Drive is now available.

@LexiconCode if you can confirm above working, please let me know and i'll close this ticket.

@k-plan

This comment has been minimized.

Show comment
Hide comment
@k-plan

k-plan Jan 23, 2017

Collaborator

First, I really like OVM.
But my experience is, you have to run it on performant hardware, like i386 platforms.
On SBC it will have weak performance and stability for a NAS system (hardware limitation).
And OVM is a "all-in-one" system, like a complete OS witch system configuration tools.
If you need something more, you have to install a OVM plugin, if where is one for it.

Like I write up here ( http://dietpi.com/phpbb/viewtopic.php?f=12&t=1040&p=4478#p4478 ) I personally think it's not a good idea to use DietPi on the same device with OMV.
And please read @Fourdee #495 (comment) here.

Hardware
Odroid C2

For a Odroid-C2 images you can take a look here:
https://sourceforge.net/projects/openmediavault/files/Odroid-C2%20images/

Collaborator

k-plan commented Jan 23, 2017

First, I really like OVM.
But my experience is, you have to run it on performant hardware, like i386 platforms.
On SBC it will have weak performance and stability for a NAS system (hardware limitation).
And OVM is a "all-in-one" system, like a complete OS witch system configuration tools.
If you need something more, you have to install a OVM plugin, if where is one for it.

Like I write up here ( http://dietpi.com/phpbb/viewtopic.php?f=12&t=1040&p=4478#p4478 ) I personally think it's not a good idea to use DietPi on the same device with OMV.
And please read @Fourdee #495 (comment) here.

Hardware
Odroid C2

For a Odroid-C2 images you can take a look here:
https://sourceforge.net/projects/openmediavault/files/Odroid-C2%20images/

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 23, 2017

Owner

@k-plan

Like I write up here ( http://dietpi.com/phpbb/viewtopic.php?f=12&t=1040&p=4478#p4478 ) I personally think it's not a good idea to use DietPi on the same device with OMV.

Yep, may need to drop this one from dietpi-software, can see it causing no end of incompatibility issues with DietPi (and manual user) configurations.

In the case here (#721 (comment)) manual mount entries to /etc/fstab are not fully supported/recognized by all OMV's plugins (eg: device dropdown list). Unless the whole process of formatting, creating FS, mounting is completed in OMV.

Owner

Fourdee commented Jan 23, 2017

@k-plan

Like I write up here ( http://dietpi.com/phpbb/viewtopic.php?f=12&t=1040&p=4478#p4478 ) I personally think it's not a good idea to use DietPi on the same device with OMV.

Yep, may need to drop this one from dietpi-software, can see it causing no end of incompatibility issues with DietPi (and manual user) configurations.

In the case here (#721 (comment)) manual mount entries to /etc/fstab are not fully supported/recognized by all OMV's plugins (eg: device dropdown list). Unless the whole process of formatting, creating FS, mounting is completed in OMV.

@k-plan

This comment has been minimized.

Show comment
Hide comment
@k-plan

k-plan Jan 23, 2017

Collaborator

@Fourdee

Yep, may need to drop this one from dietpi-software ...

Yes, OVM on DietPi is not more as an early beta. We can test it, but ...

Yes, many incompatibility issues with DietPi configurations and error messages while installing and in the logs.
I have not a huge promise to get this fixed.

Collaborator

k-plan commented Jan 23, 2017

@Fourdee

Yep, may need to drop this one from dietpi-software ...

Yes, OVM on DietPi is not more as an early beta. We can test it, but ...

Yes, many incompatibility issues with DietPi configurations and error messages while installing and in the logs.
I have not a huge promise to get this fixed.

@LexiconCode

This comment has been minimized.

Show comment
Hide comment
@LexiconCode

LexiconCode Jan 23, 2017

The web UI is clunky and slow. The huge draw for this type of software for me is the ability to configure nearly everything from the web user interface. Hopefully there is an alternative.

LexiconCode commented Jan 23, 2017

The web UI is clunky and slow. The huge draw for this type of software for me is the ability to configure nearly everything from the web user interface. Hopefully there is an alternative.

@k-plan

This comment has been minimized.

Show comment
Hide comment
@k-plan

k-plan Jan 23, 2017

Collaborator

... is the ability to configure nearly everything from the web user interface. Hopefully there is an alternative.

yes, a user has started to create one, see #448 (comment)

image

but he has decided to deleted all his work ... 👎
#448 (comment)

You can test if Webmin do what you are looking for, but I not a big fan to do this on DietPi.

http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=80#p3047

Collaborator

k-plan commented Jan 23, 2017

... is the ability to configure nearly everything from the web user interface. Hopefully there is an alternative.

yes, a user has started to create one, see #448 (comment)

image

but he has decided to deleted all his work ... 👎
#448 (comment)

You can test if Webmin do what you are looking for, but I not a big fan to do this on DietPi.

http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=80#p3047

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 24, 2017

Owner

Ok, added a notice to OMV online doc: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=4859#p4859

Will mark this as closed.

Owner

Fourdee commented Jan 24, 2017

Ok, added a notice to OMV online doc: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=4859#p4859

Will mark this as closed.

@Fourdee Fourdee closed this Jan 24, 2017

@LexiconCode

This comment has been minimized.

Show comment
Hide comment
@LexiconCode

LexiconCode Jan 24, 2017

Thanks for looking into it. @Fourdee

@k-plan
I've considered using Webmin. I've decided against because of outstanding security concerns and I found it to be unreliable with setting configurations. In addition its plug-in system is atrocious and not well-maintained for ARM.

Anyway I will continue seeking alternatives but this does bring in question how any software like Webmin would interact with DietPi.

DietPi has various methods for installing software and then applying its configuration. Basically we need a web admin panel that's robust enough to handle DietPi use cases. If you guys think it's worth it I'll open a separate ticket to carry on this discussion.

LexiconCode commented Jan 24, 2017

Thanks for looking into it. @Fourdee

@k-plan
I've considered using Webmin. I've decided against because of outstanding security concerns and I found it to be unreliable with setting configurations. In addition its plug-in system is atrocious and not well-maintained for ARM.

Anyway I will continue seeking alternatives but this does bring in question how any software like Webmin would interact with DietPi.

DietPi has various methods for installing software and then applying its configuration. Basically we need a web admin panel that's robust enough to handle DietPi use cases. If you guys think it's worth it I'll open a separate ticket to carry on this discussion.

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 25, 2017

Owner

@LexiconCode

DietPi has various methods for installing software and then applying its configuration. Basically we need a web admin panel that's robust enough to handle DietPi use cases. If you guys think it's worth it I'll open a separate ticket to carry on this discussion.

Already have one open, and yes, all we need is a web interface for DietPi, would be a great addition.

#448

Owner

Fourdee commented Jan 25, 2017

@LexiconCode

DietPi has various methods for installing software and then applying its configuration. Basically we need a web admin panel that's robust enough to handle DietPi use cases. If you guys think it's worth it I'll open a separate ticket to carry on this discussion.

Already have one open, and yes, all we need is a web interface for DietPi, would be a great addition.

#448

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment