Once more: Can't delete shared folder

  • So here we go again...


    I created a shared folder named "xx_rsync_test" in a shared folder called "Rico" (for ...well... rsync testing purposes). The only service I enabled for this was SMB (btw unfortunatly the new folder didn't show up on my machines).
    Anyway, when finished with my testings I wanted to delete this new folder - but I can't.
    Searching for a solution I found several threads here but I couldn't find something for my problem ?(


    As far as I could understand some servie is still using it but SMB is definetly disabled (using the GUI). When trying to solve my problem I enabled/disabled SMB several times as well as deleting all ACL's.
    It seems it can be detected in the config.xml (well - I couldn't) so here is mine.


    Who is so kind to help me?


    Thanks in advance
    fahrer17


    Edit: My message seems to be too long, I'll try to add my config.xml in the next post.

  • Couldn't add config in the post so I add it as an attachement (changed .xml to .txt since .xml is not allowed).


    Edit: Deleted attachement.

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

    Einmal editiert, zuletzt von fahrer17 ()

  • You have to remove the share from the service using it. SAMBA, FTP etc....disabling the service itself won't do it.


    Sorry if I misdescribed my actions: I didn't mean disabling the SMB service itself (didn't use others on that folder) but removing the folder from the shares list. Please have a look at the screen shot which should make that clear.



    You mean simply deleting these lines from config.xml (just wanna reassure me ;) ) :

    Code
    <uuid>ca316f29-5f67-4ef3-8bcb-28db8b7cd762</uuid>
    <name>xx_rsync_test</name>
    <comment></comment>
    <mntentref>d5e8e985-1968-4d73-aef3-71792a7cf7d9</mntentref>
    <reldirpath>Data/Rico/</reldirpath><privileges></privileges>


    Ok, thanks for that hint! I wonder why I didn't find that threat!
    And why this can't be done while in GUI? But obviously this seem to happen sometimes. Strange...


    What I find very confusing furthermore is that I can't find that folder in CLI:

    Code
    root@OMV:/media/010a3652-d1b4-45dd-af3a-882509cf45d9/Data/Rico# ls -l
    insgesamt 8
    drwxrws--- 2 root users 4096 Mai 21 23:08 99_Gekaufte_Musik
    drwxrws--- 3 root users 4096 Jun 24 20:45 99_tmp_jdownloader_sicherungen
    root@OMV:/media/010a3652-d1b4-45dd-af3a-882509cf45d9/Data/Rico#


    Thanks for your help, guys!

  • For the records: I have an OMV in a VM I play around with everey now and then. There it was no problem deleting a previously shared folder (did it a few minutes ago).


    I just wanted to mention that... :D

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Ok, I tried what CSH proposed but I guess I messed it up somehow (though I copied the config.xml to a save place and later copied it back to etc/openmediavault after I didn't succeed in deleting those lines). That's what shows up when I want to connect to my OMV GUI:

    Code
    Error #3008:
    exception 'OMVException' with message 'Failed to load 
    configuration (Warning 1549: failed to load external entity 
    "/etc/openmediavault/config.xml" (line=0, column=0))' in 
    /usr/share/php/openmediavault/config.inc:576
    Stack trace:
    #0 /usr/share/php/openmediavault/env.inc(22): require_once()
    #1 /var/www/openmediavault/index.php(23): require_once('/usr/share/php/...')
    #2 {main}


    Now I can connect using ssh but can't access the GUI.


    Is there maybe something wrong with r/w rights (I didn't check it before unfortunately):

    Code
    root@OMV:/etc/openmediavault# ls -l
    insgesamt 100
    -rw------- 1 root           root           30590 Jul  1 22:36 config.xml
    -rw-r--r-- 1 openmediavault openmediavault 67028 Mär 14  2014 php.ini
    root@OMV:/etc/openmediavault#

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Sh*t, I hit the wrong button, now my answer is gone :evil:


    So the short version: It was a ownership problem! After editing config.xml as root it belonged to "root" and couldn't be used by "openmediavault" anymore. After chown'ing it back to "omv" everything is fine again. Well, except that my unwanted shared folder is still around... ;)

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Use the logupload feature and tell us your ID and the share that you want to get rid off.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Hi david2k,


    hm, isn't this what you asked for?


    Code
    <sharedfolder>
    <uuid>ca316f29-5f67-4ef3-8bcb-28db8b7cd762</uuid>
    <name>xx_rsync_test</name>
    <comment></comment>
    <mntentref>d5e8e985-1968-4d73-aef3-71792a7cf7d9</mntentref>
    <reldirpath>Data/Rico/</reldirpath>
    <privileges></privileges>
    </sharedfolder>


    Cheers,
    fahrer17


    Third try to post my answer after getting the same error again and again today:
    "Es ist ein Fehler bei der Verarbeitung aufgetreten, bitte versuchen Sie es später erneut.
    Exception ID: 58bb507627f4320de8ebd0a01971649a2a7f3d4b"

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • I need the complete file to be able to help, otherwise I don't see where its referenced. You can use the logfileuploader, as seen in my signature.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Ah, ok, I see...


    Now that's what I get. Doesn't sound to good I assume... What's now wrong?



    Thanks for your help+patience!


    PS: Is it too hot for the forum? I keep getting these errors when posting something...

  • Thats the new spambot Plugin, seems to also keep some users from posting. @votdev


    @fahrer17 I found a problem with the loguploader that I need to fix, but I think I can't get to it before tomorrow.


    Edit: Fixed the loguploader, it works now.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

    Einmal editiert, zuletzt von davidh2k ()

  • The spambot problem occurred when trying to post form my office pc as well as at home when using a totally different IP.
    And I had it again when trying to write this :-/

    Alright, do you want me to upload the logfile again?

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Yes. Have to go to work now, but me or another mod will look at it later/tomorrow. Also post the shared folder you can't remove.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Hehe, no hurry. I'm at work myself and my OMV machine ist at home. I will do it later.


    The good thing is OMV is working well so far, the unwanted folder is more or less only a cosmetic problem :)

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Sorry, the upload error appeared again:

    Code
    tr: write error: Broken pipe
    tr: write error
    ATTENTION - Your system info will be provided to the OpenMediaVault forum moderators - forums.openmediavault.org.
    your log ID is: LinzEpaF, please refer to this log ID in your posts.
    
    
    Creating sysinfo file...
    Creating config.xml file with passwords and SSL certs removed...
    Permission denied (publickey).
    Couldn't read packet: Connection reset by peer

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Fixed now, hopefully.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Nope, Sir :D


    Code
    tr: write error: Broken pipe
    tr: write error
    ATTENTION - Your system info will be provided to the OpenMediaVault forum moderators - forums.openmediavault.org.
    your log ID is: Ssffqn98, please refer to this log ID in your posts.
    
    
    Creating sysinfo file...
    Creating config.xml file with passwords and SSL certs removed...
    Permission denied (publickey).
    Couldn't read packet: Connection reset by peer

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • I honestly don't know why its locking up over and over again. Need to investigate further.


    Maybe you can pastebin your config.xml and PM it to me...


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • No problem, I'm the one who wants help :)


    I'm not familiar with pastebin, why not copy+paste and/or PM?

    OMV6.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!