Web UI Issue + samba failure

  • Hi all, I have been browsing through the posts on this forum and wanted to ask few questions regarding the issues that I am experiencing. There are multiple issues related to web UI. I was not able to land on the home page of web UI was getting a 502 Bad Gateway. I saw this post, although this solution did not survive reboot later I found that I had to run chown root.root / to fix this issue. Now I was able to land on the homepage of WebUI. Now coming to log in, I am not able to login unless I run omv-engined -d -f. If I dont run that in CLI and try to log in I am getting this error


    Failed to connect to socket: No such file or directory 

    Error #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 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 3)

    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()

    #2 {main}


    Even after running omv-engined -d -f and logging, in I am greeted with top banner

    The configuration has been changed. You must apply the changes in order for them to take effect. When I click apply , it gives me an error has occurred.

    I am running OMV 5.6.2.1 (usul) with linux 5.10.0.0 bpo.3-amd64 kernel. I tried omv-firstaid and clearing the web control panel cache , clear apt etc.

    Another error that I am facing smb/cifs is not working for some reason. I restarted the service, but it is not running. I am novice in linux, any help would be appreciated. I reinstalled omv , ran apt-update apt-upgrade but still no avail. I wanted to why was this issue caused in the first place. I installed union file system merger fs plug in and created a mergerfs files sytem that made my ssh deamon fail had to connect to the server to restart it. In one of the post I found I had to add *no fail* in fstab for the merfs file system. I added and restarted the sshd it worked , I entirely removed the merger fs file system which was present.



  • Hi Macom, thank you for the response. This is the output


    systemctl status openmediavault-engined.service

    It started after I created a mergerfs file system combining both of my HDDs . Also , I was unable to rename the created the resulting file system.

    OMV went into recovery mode because there was no *no fail* in the fstab for the mergefs file system that I created.

  • I also tried


    Code
    apt-get remove openmediavault
    apt-get install openmediavault


    and then again installed plugins via wget


    Still getting the same error. Let me know where I am going wrong. Thanks !

  • Unfortunately not. Best thing is to make screenshots of the settings in GUI. Then you can keep config.xml as reference, but you cannot use it to restore the configuration.


    Maybe you can also wait a bit and see if somebody else comes up with an idea how to fix the system.

  • yeah, All my other services are working. I installed docker in the same SSD that OMV was installed in. and all my containers are working except only the WEB UI. Will poke and wait around . Do you know how do we uninstall php completely ? I have different php versions


    Is this normal ?

  • looks ok, have the same

  • Thanks. Sorry for another question, is there a omv-salt command for samba ? I want to uninstall and reinstall samba shares and see if that helps ? .


    Is this correct apt-get purge samba ? and then apt-get install samba 

  • Hi again, Is this common when I run


    df -Th 


    $ df -Th

    Filesystem Type Size Used Avail Use% Mounted on

    udev devtmpfs 3.9G 0 3.9G 0% /dev

    tmpfs tmpfs 784M 35M 750M 5% /run

    /dev/sdc1 ext4 61G 29G 29G 50% /

    tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm

    tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock

    tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup

    /dev/sdc3 ext4 150G 17G 126G 12% /srv/dev-disk-by-id-ata-SATA_SSD_20042424002722-part3

    tmpfs tmpfs 3.9G 0 3.9G 0% /tmp

    /dev/sda1 ext4 4.6T 4.5T 60G 99% /srv/dev-disk-by-label-HDD1

    /dev/sdb1 ext4 916G 709G 208G 78% /srv/dev-disk-by-label-HDD

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/31cecfa66718a9e1946f4a943f3ccee59b154b5cb613236e2a73b774cf98e25a/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/b310586a71183f4c9a49014a7a16d5ebf4c180700bd9c61e3609346b6dd6e769/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/db06b86124b03215bd7a8ea7ae22603993cd6ac13f8124912cbdd055d68d9c1c/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/aed0d5f20829a03c52ca72ab3ab3b00edbefc49f54d67b13b2bcbffe0d14ba98/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/b825b7f96c9c957463424c17b3dd4dd32fad0762a98cb04a3400c8b7feb6b2a3/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/bc35c2b086c669727ccfff9e14b28410e0fe27af7ef75279efc4c51e24ce6479/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/c90a01af1796f01b357984708855da58fa5f610a8484fdc22fab198da705707c/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/91c03b865a5d6e48078b8aa7ad114dffc34317d24379f7d1b3964a88bd750a70/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/e9e3d6263f0c20acfa2e8b2989f326329ffb7fc0a2d9aa939cad850c7a87332a/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/b6ca4296380a7abf952c9910233c565d6d89585e65e51cfcc03055b5f47459a0/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/2837c33b9a461282dd5bb635d521b1cd6519fff79b09b286c88b31205b8dc21a/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/64b2c78582906cb89e24c0eeccb584324c1881e77adc05a0e68dd86c3291a00a/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/0a72351ddad1ee674180ff4092909c2d02c17ff5df8fb7c86f489cd7f6162687/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/603b79eb42e69195762c6a0bdc0470f515843631ce5d13bdb51edafe6af53b65/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/7a3fb76bf205ea3933ab1209176380d08c40d521466ae60bf6e1afda961163b9/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/9368fd1615b91fd3debfd4de735193f29906c32a0e0b3d9f44d95e3ab533f460/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/83006d808b6ff7ee2c4391959cc345d664c6c82300855ce90c15d9d9ad405ac7/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/37dc646e7790a1cea62372e228d63982886ae3ed8e75ad297b9b3f8a3a2ed4b2/merged

    shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/00335cecfd819d70296136866125c3b890c607bec7202a1e61046ec8bce2d08d/mounts/shm

    shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/9bea8d2721465340eccc6d867395ba366e1d113f19061e5710d4488fd9e89c8f/mounts/shm

    shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/0ff689d1160c47583c5fd122f25ed1793fe58ca23c52700c3dbdb2a356431c70/mounts/shm

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/190e4402c8c4d1dd7ad67da481f499c5536fd1612123bd88dab508387df07707/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/03f636e5ef2d05714474249ae680d646dd49dae1b91c40b92fa3e04c960c4f40/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/1c50ba38e168b47ac31886f02cc2012681a74817fd848f95eb41f2b1e7531156/merged

    overlay overlay 61G 29G 29G 50% /var/lib/docker/overlay2/663c77d9f643c00adc0629b1024b769a35acd67f391c8cb16eb0e27385e8b5bc/merged


    Is this normal ?

Participate now!

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