SantyC93

Members
  • Posts

    11
  • Joined

  • Last visited

SantyC93's Achievements

Noob

Noob (1/14)

2

Reputation

  1. Hi I'm trying to mount/unmount a remote SMB share but I'm having some problems. If I try: umount /mnt/remotes/TOWER1_Volume the share gets unmoubted correctly, but if I try: mount /mnt/remotes/TOWER1_Volume I get this error: mount: /mnt/remotes/TOWERMAIN_Volume: can't find in /etc/fstab. I tried adding this line found in another forum post to fstab: //192.168.0.10/disk1 /mnt/disk1 cifs username=<unRAID user>,password=<unRAID user password>,noperms,uid=nobody,gid=users 0 0 but trying mount then gave this error, so I removed it: mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) Could someone help me make this work? Ty very much!
  2. Update: Tested the script on a large folder and the exported log file exceeded 300MB, causing the log to only show this error message: <b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 355982752 bytes) in <b>/usr/local/emhttp/plugins/dynamix.file.manager/include/Control.php</b> on line <b>121</b><br /> It seems to be caused by the PHP memory limit, which is set to 128MB by default. Googling the problem I found many post on StackOverflow suggesting to increse the memory limit to solve the problem. Anyone knows if it is possible to change the PHP memory limit in Unraid? And would it be a bad idea to increase it to 512MB? Are there other ways to fix this problem without increasing the PHP memory limit? Ty very much for the help
  3. Adding the path fixed the problem Tyvm! This is the working script: /usr/local/emhttp/plugins/dynamix.file.integrity/scripts/bunker -v -l -n -b3 /mnt/user/Folder1 &>"/mnt/user/logs/Folder1_Verify_log_$(date +"%Y_%m_%d_%I_%M_%p").log" /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Bunker Verify" -d "Folder1 Verify complete" -i "normal"
  4. I'm sure the script finished (I tried on a very small folder so it takes few seconds). I tried running it many times and the log file does not get generated if the script runs in the background. Tried googling but can't find anything about this problem.
  5. Ty! Worked great After a bit of tests I ended up with this script: /usr/local/emhttp/plugins/dynamix.file.integrity/scripts/bunker -v -l -n -b3 /mnt/user/Folder1 &>"Folder1_Verify_log_$(date +"%Y_%m_%d_%I_%M_%p").log" /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Bunker Verify" -d "Folder1 Verify complete" -i "normal" mv "/root/Folder1_Verify_log_"* "/mnt/user/logs/" it works perfectly when I manually run it, but if I run it in background or if I schedule the script the .log file does not get generated Any idea on what could be causing the issue?
  6. That could be useful, but logs are necessary in the event of a corrupted file. If there's no way to export the logs I guess I can't use a script to fix my problem. Ty anyway
  7. What would be the correct way to export the logs? Could you make an example pls? Tyvm
  8. After looking for a bit in the Bunker forum page I couldn't really find the solution I wanted (I'd like to run the FileIntegrity "automatic check" so that it uses my task settings and excluded folders), but I think I got something close enough. This command to check the folder I need and export (one script for each folder): /usr/local/emhttp/plugins/dynamix.file.integrity/scripts/bunker -A -l -f /mnt/user/logs/Folder1build.log -b3 /mnt/user/Folder1 And this one to verify them: /usr/local/emhttp/plugins/dynamix.file.integrity/scripts/bunker -v -l -f /mnt/user/logs/Folder1check.log -n -b3 /mnt/user/Folder1 Just wanted to ask if there's somithing wrong with them since I'm pretty inexperienced with this stuff, for example the command does not save any log in the folder I specified. If anyone knows what I did wrong and can help me fix this error or can tell me if I made any more mistakes I would be really grateful, ty
  9. I only see the commands for build and clear, I was asking for check (and maybe export). If I missed them could please quote them? I can be quite blind sometimes XD Ty
  10. No one knows? Would really help a lot if someone knew the commands for check, build and export so that we can use them in scripts
  11. Was wondering, is there a way to trigger the automatic check via command? I would like to execute the check with a script to have a better control on the schedule. Thanks for the help