OMV6 sure looks like a huge upgrade

  • The code is using php's function gethostname since I can't use javascript to get the hostname anymore. I may have to execute the command hostname -f and use its output. Does hostname -f return the correct hostname on your system?

    Unfortunately, it isn't cut&paste.

    The symlinks plugin shouldn't be a problem to port since it is pretty simple.

    ryecoaaron You can use \OMV\System\Net\DNS to get the hostname, but the better approach is to load the conf.system.network.dns database object and build the hostname yourself. Think about the situation where the hostname is modified but not applied, then your plugin is modified and the PHP code uses gethostname to get the hostname, this will finally end in incorrect data.


    I don't know the plugin, but why not getting the hostname while deploying the configuration. You can use Salt grains to get the hostname or easily access the conf.system.network.dns database object. You can make 'hostname' a dependency of your RPC module, thus 'hostname' is deployed before your plugin, and you can be sure the Salt grain contains the correct hostname.

  • You can use \OMV\System\Net\DNS to get the hostname, but the better approach is to load the conf.system.network.dns database object and build the hostname yourself. Think about the situation where the hostname is modified but not applied, then your plugin is modified and the PHP code uses gethostname to get the hostname, this will finally end in incorrect data.


    I don't know the plugin, but why not getting the hostname while deploying the configuration. You can use Salt grains to get the hostname or easily access the conf.system.network.dns database object. You can make 'hostname' a dependency of your RPC module, thus 'hostname' is deployed before your plugin, and you can be sure the Salt grain contains the correct hostname.

    The plugin is just trying to find the hostname to open a browser window. I used to use the javascript function location.hostname to build the url but I can't do that anymore. I don't care if the hostname has been modified but not applied because the plugin needs the current name that is resolving. Salt can't be used here either because this is all client side stuff.

    omv 6.0.5-2 Shaitan | 64 bit | 5.13 proxmox kernel | omvextrasorg 6.0.4 | kvm plugin 6.0
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • The plugin is just trying to find the hostname to open a browser window. I used to use the javascript function location.hostname to build the url but I can't do that anymore. I don't care if the hostname has been modified but not applied because the plugin needs the current name that is resolving. Salt can't be used here either because this is all client side stuff.

    OK, that is an easy task. Simply use {{ location.hostname }} in a string, and the UI will automatically fill it with the current hostname. See https://github.com/openmediava…/functions.helper.ts#L307

  • That's definitely not right. Are you sure doctor is installed

    Sorry, I forgot that I had uninstalled it.

    wayne@omv6:/$ docker info | grep Root

    Docker Root Dir: /var/lib/docker


    Easy data backup: In a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-SOURCE/ /srv/dev-disk-by-label-DESTINATION/ (HT: Getting Started with OMV5)
    OMV 5 (current) - Thinkserver TS140, Nextcloud, Plex, Airsonic, Navidrome, Ubooquity, Digikam, Wetty, & Heimdall - NanoPi M4 (v.1): backups using Rsync and Rsnapshot - Odroid XU4 (Using DietPi): PiHole - hc2, xu4, Pi 3B+, Odroid H2, and VirtualBox: Testing and playing - Mac user converting to Linux, Debian 10 KDE.

  • OK, that is an easy task. Simply use {{ location.hostname }} in a string, and the UI will automatically fill it with the current hostname. See https://github.com/openmediava…/functions.helper.ts#L307

    Looks like it should actually be: {{ location() | get("hostname") }} but it is working.

    omv 6.0.5-2 Shaitan | 64 bit | 5.13 proxmox kernel | omvextrasorg 6.0.4 | kvm plugin 6.0
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • is there/will be there a update option from a existing 5.x to 6.x?

    OMV 5.x / HP DL360 gen8 , 2x HP Storrage Array 3.5" with 36x 8TB Seagate Archive RAID 6

  • No idea why this is marked alpha. I did a fresh install 3 days ago and didn't face a single problem.


    SMB shares work, GUI works, OMV extras and Docker (qBittorrent, Adguard Home, Cloud Commander, Scrutiny) work as well.

  • No idea why this is marked alpha. I did a fresh install 3 days ago and didn't face a single problem.


    SMB shares work, GUI works, OMV extras and Docker (qBittorrent, Adguard Home, Cloud Commander, Scrutiny) work as well.

    Just because it "works for you", has nothing to do with why it is marked Alpha.


    1. It hasn't been extensively tested.


    2. Debian 11, which it is based on, isn't even stable yet

    Air Conditioners are a lot like PC's... They work great until you open Windows.


  • Just because it "works for you", has nothing to do with why it is marked Alpha.

    It seems to be working pretty pretty good for many people. Only major complaints I saw on the forum were about FTP but that was fixed.


    I had a spare NUC lying around, installed OMV 6 and I couldn't be happier with it.

  • It seems to be working pretty pretty good for many people. Only major complaints I saw on the forum were about FTP but that was fixed.


    I had a spare NUC lying around, installed OMV 6 and I couldn't be happier with it.

    OK, again.. that is irrelevant and has nothing to do with whether software is Alpha, Beta, etc. I've tested it quite a bit and like it a lot... but that doesn't mean it's stable... especially when the underlying OS isn't even stable yet

    Air Conditioners are a lot like PC's... They work great until you open Windows.


  • OK, again.. that is irrelevant and has nothing to do with whether software is Alpha, Beta, etc. I've tested it quite a bit and like it a lot... but that doesn't mean it's stable... especially when the underlying OS isn't even stable yet

    All true.


    I just wanted to share a success story. In my case OMV 6 works just as stable as OMV 5.

  • All true.


    I just wanted to share a success story. In my case OMV 6 works just as stable as OMV 5.

    I'm just going to set up my my system completely from scratch.

    So I'm now not sure if it should give OMV 6.0 a try.

    But how it will be if there will updates from OMV6.0 alpha to beta and further to final release.
    Is there update possible or could it also the way that I need to install the hole system from scratch again?


    Edit: quick installed it in vm an found a few problems:

    1. No login possible after typing in the password and hit Enter. Enter just make the password readable. You need to use the mouse to push the login button. Tested with firefox

    2. Update are not possible to install by webgui. so the packed openmediavault 6.0-16 need to be installed by hand.

    3. there are updates shown wich are on not visible on the console. Releoad and search for update on the webgui is not cleaning the update list.


    Is there any official way to report all this found errors.


    Cheers Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

    Edited once, last by no_Legend ().

  • The login screen password issue should be fixed. You just need to run updates.


    I've not had the other issues.

    Air Conditioners are a lot like PC's... They work great until you open Windows.


    Edited once, last by KM0201 ().

  • only to know, same problems here (1, 2 and 3), using Chrome, and update stuck on 6.0-10 and not posiible to update to: 6.0-16




  • need to do the dist-upgrade by hand on the console.

    Then the problems are disappeared.


    Cheers Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • need to do the dist-upgrade by hand on the console.

    Then the problems are disappeared.


    Cheers Robert

    you are right,

    Code
    apt dist-upgrade

    solved it.

  • Did your docker path persist?

    Easy data backup: In a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-SOURCE/ /srv/dev-disk-by-label-DESTINATION/ (HT: Getting Started with OMV5)
    OMV 5 (current) - Thinkserver TS140, Nextcloud, Plex, Airsonic, Navidrome, Ubooquity, Digikam, Wetty, & Heimdall - NanoPi M4 (v.1): backups using Rsync and Rsnapshot - Odroid XU4 (Using DietPi): PiHole - hc2, xu4, Pi 3B+, Odroid H2, and VirtualBox: Testing and playing - Mac user converting to Linux, Debian 10 KDE.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!