Jump to content

dlandon

Community Developer
  • Posts

    10,223
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by dlandon

  1. 34 minutes ago, itimpi said:

    I have the problem that File Manager does not seem to work correctly with Exclusive Shares as the source for copy/move operations.

     

    To reproduce:

    • Go to the Shares tab and start to browse a share that is an Exclusive Share
    • Select a folder within that share
    • Select the Copy or Move option

    You are now only offered a list of disk shares for the destination of the copy.    I think that you should instead be offered a list of User Shares instead as you would if the source was not an Exclusive share.

     

    The above process works seems to fine if the SOURCE is a none-exclusive share and the TARGET is an Exclusive share.

    Did you intend to report this as a UD issue?

    • Like 1
  2. 22 hours ago, StriggityStrack said:

    I am having a weird bug on Unraid 6.12.8 where I cannot save or modify any of my scripts. When I go to save it merely flashes the screen and everything resorts back as if I had hit the reset button. The only thing I can do is delete a script. I am pulling my hair out and resorting to manually moving files. 

    Ok, it seems a change was made in Unraid 6.13 to address an issue with saving script files after a UD change.  It has been fixed in 6.13, but 6.11 and 6.12 will have an issue.  I will update UD once I come up with a way to make a proper fix.

    • Upvote 1
  3. 6 minutes ago, StriggityStrack said:

    I am having a weird bug on Unraid 6.12.8 where I cannot save or modify any of my scripts. When I go to save it merely flashes the screen and everything resorts back as if I had hit the reset button. The only thing I can do is delete a script. I am pulling my hair out and resorting to manually moving files. 

    I'm not having any trouble with scripts.  Is your disk or remote share mounted?  The script buttons act differently if the device is mounted.  If the script is running, you are even more limited in what you can do.  The only button that applies changes is 'Apply'.

     

    There's an off chance you are running into a php warning or error.  Check the Tools->PHP Settings and see if anythjing is logged.

  4. 8 hours ago, JorgeB said:
    Mar 17 16:51:02 Tower smbd[29090]:   streams_xattr_pwrite: Write to xattr [user.DosStream.Timing.Info:$DATA] on file [NYG GB.ts] exceeds maximum supported extended attribute size. Depending on filesystem type and operating system (OS) specifics, this value may be increased using the value of the parameter: smbd max xattr size = <bytes>. Consult OS and filesystem manpages prior to increasing this limit.

     

    Not sure the max XFS supports, maybe @dlandonknows.

    Currently Unraid's value is 'smbd max xattr size = 65536'.

     

    You can try setting this value higher in the smb-extras, but I don't think this is your problem.

    smbd max xattr size = <new value>

    I think @Frank1940 may have the answer - see above.

  5. 3 hours ago, pOpYRaid said:

    PS.: As a workaround, i am running the "... mount autoshares" now with an user script, 2 minutes prior the backup.

    How about you change your strategy and mount and unmount the shares as needed for your backup.  You could also add some code to check that the backup server is online by pinging it before auto mounting and either waiting for it to come on line or fail the backup.  In pseudo code:

    • Ping remote server and see if it is on line.
    • If not, wait for it to come on line, or fail the backup script.
    • rc.unassigned mount <backup remote share>.
    • Perform the backup...
    • rc.unassigned umount <backup remote share>.

    I wouldn't have dockers running depending on the remote mount to be available if it is turned off.  Coordinate the use of the mount points with when the backup server is on line.

    • Thanks 1
  6. 1 hour ago, DS18 said:

    I have 2 unraid devices on the same local network, 1 is more of a client serving up all my apps and the other is a storage device. I connect from the client to the storage device over NFS and it connects fine but after some time, i get an Invalid Path issue on the client. The mount says its mounted still so i have to unmount and remount. I have it set to automount but i still need to remount and i typically notice this when i cannot connect to some apps on my client that depend on the data from the storage device. I have security turned on on the storage device with this: `192.168.1.68/24(sec=sys,rw,insecure,anongid=100,anonuid=99,no_root_squash)` Security is set to private, export no. Nothing special on the client device outside of 2 apps (plex and immich) have the share mounted as a volume for content.

     

    Immich Mount looks like this:

    ` - ${UPLOAD_LOCATION}/immich:/usr/src/app/upload`

    UPLOAD_LOCATION=/mnt/remotes/TOWER_media/Photos

     

    Plex is slightly different since its in a different compose file:

    `- /mnt/remotes/TOWER_media:/data:rw,slave`

     

    Unsure if i need the slave part. 

     

    Does anyone have any idea why my share keeps dropping after some unknown time/reason?

    Sounds like you might be getting stale file handles.  Post diagnostics.

  7. 2 hours ago, Pablo808 said:

    I have been using the Preclear Tool on a couple of disks now which some success.  It's nice tool to determine which disk may be EOL. I usually print out a copy of the preclear preview log upon completion and include with the disk.

     

    I'm just wondering if the preclear logs are available on the system *after* the disk has been unmounted?

    Look in /flash/preclear_reports/.

    • Thanks 1
  8. 15 minutes ago, Sionree said:

    Hello everyone.

    I've successfully used remote shares for several months.

    After a blackout, I haven't been able to get it working again.

    "Search for servers" works correctly, identifying the PC with Win10 containing the folder; however, "load shares" doesn't find any shares.

    I've uninstalled and reinstalled without success.

    I've installed a "free trial" version on another PC, and remote shares works correctly there.

    Thanks to anyone who can advise me.

    unraidserver-diagnostics-20240317-1427.zip 200.54 kB · 0 downloads

    You have to enter the correct credentials in order to list the shares.  As a test, when you get to the part where yoiu enter a share, enter a share manually.  Then mount the share and let's see if an error shows.

  9. 8 hours ago, brambo23 said:

    So I'm currently running 6.9.2 and tried to install your latest version and it requires 6.11.  is there any chance you have an old version I can use to get my array back up and running?  I'm not seeing it in community apps or your github

    Your best bet is to upgrade to 6.11.  The other option is to copy the /boot/config/plugins/ folder from a backup and reboot.

  10. 12 hours ago, maTTi said:

    Thanks for the plugin, it is great :)

     

    1. Is it possible to show current files activity on the dashboard?

    2. I have checked "Enable for Cache and Pool Disks?" but still can't see my cache drive in the tabs (I have appdata docker there so in theory it should be always in activitiy list when docker is running but it is not, only my array disks)

    1. Probably not because I don'rt think there is enough room to fit it in.

    2. The appdata, syslog, and system shares are excluded from file activity and won't show any activity.

  11. 1 hour ago, aqua said:

    This sort of works for me, but it isn't working in a Test share that I have .txt files in to test deleting, but deleted some other files fine.

    This might be affected by the excluded files in the recycle bin.  As I mentioned already, this is a very bizare get around and I don't expect it to work in all cases.  It's going to end up being up to the samba development team to find the final solution.

    • Upvote 1
  12. I've done some testing and found out Samba is crashing:

    [2024/03/14 09:07:19.329402,  0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
      PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
    [2024/03/14 09:07:19.329435,  0] ../../lib/util/fault.c:178(smb_panic_log)
      ===============================================================
    [2024/03/14 09:07:19.329442,  0] ../../lib/util/fault.c:179(smb_panic_log)
      INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in smbd (smbd[192.168.1.) (client [192.168.1.188]) pid 22564 (4.19.5)
    [2024/03/14 09:07:19.329447,  0] ../../lib/util/fault.c:186(smb_panic_log)
      If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
    [2024/03/14 09:07:19.329451,  0] ../../lib/util/fault.c:191(smb_panic_log)
      ===============================================================
    [2024/03/14 09:07:19.329464,  0] ../../lib/util/fault.c:192(smb_panic_log)
      PANIC (pid 22564): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.19.5
    [2024/03/14 09:07:19.329708,  0] ../../lib/util/fault.c:303(log_stack_trace)

    This is with samba 4.19.

     

    I seem to have found a get around, but I'm baffled right now about why this works.  Install the recycle bin plugin and be sure it is running.

     

    In my testing it looks like file deletes work.  Deleting directories works but an error is displayed and the Android app does not show the directory as being deleted until closed and re-opened.  The directory delete also crashes samba.  Since the recycle bin plugin is for deleted files through SMB, there is something the recycle bin vfs is doing that prevents the file deletes from failing in this situation.

     

    Because samba is crashing it looks to be an issue that the samba team needs to fix.  At this time, I don't see any way through samba settings we will be able to fix this on the Unraid side.  It could also be an issue with the Android app, but I doubt it.

     

    In doing some research, there is a samba bug here that might solve the issue.

    • Like 2
    • Upvote 1
  13. 2 minutes ago, KADgnvbPG3Jmjuiq said:

    Well it "randomly" started working, it just took the overview page a while to show the share (even though i kept refreshing like the maniac i am). The deleted files section is still empty though.

     

    Doesnt matter as long as the main feature works im more than happy 👍

    The recycle bin is refreshed every 5 minutes and won't show a deleted file right away.

     

    The log should show files deleted immediately.

  14. 1 hour ago, KADgnvbPG3Jmjuiq said:

    Im missing something here, i installed and enabled the plugin but no shares are detected or have a recycle bin. I deleted files many different ways via smb but that appears to do nothing. Im stuck :D

    The shares only show in the recycle bin if they have deleted files in the .Recycle.Bin/ folder on that share.

     

    Files deleted in network (SMB) shares that are zero length, don't show in the recycle bin.

     

    Post diagnostics.

  15. 2 hours ago, pOpYRaid said:

    Just for others which want to know how to enable SMBv1 on unraid (v6.8.12 currently).
     

    Add the following under "Settings -> SMB -> SMB Extras":

     

    # delete file workaround for android file managers -> enable SMBv1
    # see thread: https://forums.unraid.net/topic/128657-permission-errors-in-6110-when-deleting-files-from-phone-with-android-file-managers/?do=findComment&comment=1387002
    min protocol = NT1

     

    pOpY

    Turning on NetBIOS in SMB settings enables SMB1.

     

    On 3/7/2024 at 1:20 PM, pOpYRaid said:

     

    Would be nice this gets fixed.

    SMB1 is an old protocol and is not very secure.  I would not expect LT to invest any time in making changes to an older, unsecure protocol to work better with Unraid.

     

    It needs to be fixed on the Android side - like update SMB support to v2 or v3.

  16. UD does not mount optical drives.  The best way to use them is to with a VM or Docker Container.

     

    Once you start makemkv, the log will show the two devices needed for makemkv to be able to use the drive.  You then specify the drive designations of the drive you want to use in the template.  Post on the makemkv forum for additional infoirmation.

×
×
  • Create New...