Posts by chico11mbit

    Update:

    It works like a charm. There are some issues with elastic search 7 and fs2es-indexer, but i solved it.

    Use this tutorial with fs2es-indexer


    You have to change this in setup.py in the fs2es-indexer folder if you use elastic search 7 :


    install_requires=[

    'PyYaml',

          'elasticsearch>=7.0.0,<8.0.0'


    and you have to uncomment in /etc/fs2es-indexer/config.yml :


    library_version: 7


    and in the SMB Global section in OMV you have to use:


    spotlight backend = elasticsearch

    elasticsearch:address = 127.0.0.1

    elasticsearch:port = 9200



    then it should run and you can search filenames and filename fragments in MacOS finder very very quick.

    If you want to search content then you have to use scrawler. But I have not tried it yet. Perhaps anybody else have done it and could explain here the method of install?

    Solution: activate "inherit permissions" in the samba share config.

    If you tried to copy folder before, the folders were created and cannot deleted from finder after the permission change. SSH in your OMV and delete it from there with sudo.

    Aha,really interesting. I work with elasticsearch everyday, never seen this. As for the configuration, they are probably using oss version of elasticsearch 7.10.2. The only problem that i could see if chaning smb.conf file, which can be overwritten if you configure something else on samba in the GUI.

    At the samba.org site they write, that you have enter the [global] and [share] parts

    Code
       [global]
       spotlight backend = elasticsearch
       elasticsearch:address = localhost
       elasticsearch:port = 9200
    
       [share]
       ...
       spotlight = yes

    I think you do it in the OMV "advanced options" fields. Am I right?

    Hi,

    i wanted to install NTP with APT. After that APT said i have to auto remove a lot of packages which I did not ..

    But I cannot login anymore in the GUI.


    I get this error details after trying to login:


    Code
    Fehler #0:
    OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:141
    Stack trace:
    #0 /var/www/openmediavault/rpc/session.inc(57): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)
    #1 [internal function]: OMVRpcServiceSession->login(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
    #4 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
    #5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #6 {main}


    Output of "dpkg -l | grep openm"




    When I


    omv-engined -f -d and let it run in terminal, I can login.


    with running that in a different window i can omv-firstaid, but "Configure web control panel" does not help.


    after closing the window with omv-engined -f -d the result is the same. I cannot login the the web panel.


    Please help me to repair my OMV 5.6 installation. :(

    For the archive: This is no longer necessary for OMV5. You can do it completely from the GUI. Raid extend also extends the LUKS-encryption at the same time. After that just extend the filesystem and you're done.

    Caution. Expanding the RAID takes a very long time. From 48TB to 64TB almost 4 days if there are no accesses. You can continue to work with the raid normally during this time, but then it takes even longer, depending on the access.Expanding the file system is then very fast (minutes)

    I cannot install shared folders in phpvirtualbox. Everything else runs flawlessly

    VBoxGuestAdditions_6.1.6.iso is installed on the guest.


    Everytime i try, i get:

    Code
    There was an error obtaining the list of registered virtual machines from VirtualBox. Make sure vboxwebsrv is running and that the settings in config.php are correct.
    
    The list of virtual machines will not begin auto-refreshing again until this page is reloaded.
    
    HTTP error: 500 Internal Server Error
    Details

    The Details are:


    readyState: "4"

    responseText: ""

    status: "500"

    statusText: "Internal Server Error"


    The nginx error is:

    Code
    2020/04/22 21:31:36 [error] 1457#1457: *288 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function IMachine::createSharedFolder(), 4 passed in /var/www/phpvirtualbox/endpoints/lib/vboxconnector.php on line 2244 and exactly 5 expected in /var/www/phpvirtualbox/endpoints/lib/vboxServiceWrappers.php:4524
    Stack trace:
    #0 /var/www/phpvirtualbox/endpoints/lib/vboxconnector.php(2244): IMachine->createSharedFolder('sharedfolders', '/sharedfolders', true, false)
    #1 /var/www/phpvirtualbox/endpoints/lib/vboxconnector.php(951): vboxconnector->remote_machineSave(Array)
    #2 /var/www/phpvirtualbox/endpoints/api.php(316): vboxconnector->__call('machineSave', Array)
    #3 {main}
      thrown in /var/www/phpvirtualbox/endpoints/lib/vboxServiceWrappers.php on line 4524" while reading response header from upstream, client: ::ffff:192.168.1.8, server: phpvirtualbox-webgui, request: "POST /endpoints/api.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm-phpvirtualbox-webgui.sock:", host: "192.168.1.20:8080", referrer: "http://192.168.1.20:8080/"

    I solved by installing dnsmasq and recommended package resolvconf; after reboot I have activated network by: virsh net-start default; by: virsh net-list --all u can verify. Then I am able to install vm

    ok. After that i can install a VM. But I cannot edit the network adapters.

    There is no menu to edit the Network on the left side. Every Cockpit tutorial shows the menu entry "Network" but in my standard OMV5/Cockpit Installation this is missing. I have 4 NIC in my server so I want to bridge a NIC with fixed IP to the VM I want to install. Is there something i miss?

    In virtual box it works fine.


    update:

    after installing

    apt install cockpit-networkmanager

    the menu "Networking is available"


    but "the option "Bridge to LAN" is greyed out. After some investigations I realized that this option is NOT implemented yet. What a pity ...

    if it is certbot which is installed:


    certbot renew --dry-run


    Your gui is on 80 ? put it on another one and use a firewall like arno-iptables-firewall to separate lan from wan. (perhaps you can du it with ufw but i don't know that)

    same here.


    Ich würde mich über ein Lösung sehr freuen. Ich kann auf Buster kein dnsmasq installieren, da Port 53 durch systemd-resolved belegt wird.


    I would be very happy about a solution. I can't install dnsmasq on Buster because port 53 is occupied by systemd-resolved.

    Hi,

    it is not possible to set quota with more than 4TB.

    I know, that it is a limitation from vfsv0. It should be fixed in vfsv1. But i don't want to hardcode things in fstab or in edquota in terminal. It could be that OMV will have issues with that.


    So is there a workaround or will be there an update for omv5 which will fix that in the near future?


    I think limits to 4TB are outdated like Bill Gates saying "Nobody need more than 640KB of RAM"