Jump to content

Reva

Members
  • Posts

    41
  • Joined

Posts posted by Reva

  1. Is there a way to get a script to only send a notification if at least one of the move commands moved something/ did not return the error

    "mv: cannot stat '/mnt/user/data/example*': No such file or directory"

     

    I get this error because I run 8 simple mv commands in the script and if just one of them finds nothing to move I get the error, which means I can't use and if exit code statement in the notify script. I only want to be notified if one or more of them move something.

     

    /usr/local/emhttp/webGui/scripts/notify -s "example" -i "normal" -d "example"

    is what is set currently at the bottom of the script.

  2. Hi!

    I was wondering whether the Cache Dirs plugin is still supported/being developed? I am currently on Unraid 6.10.0.

     

    My setup only has one share that uses the array. I have included it and excluded the rest of the shares in the plugin settings but am not sure what else to do. What settings would be smart to change?

    • Upvote 1
  3. 1 hour ago, ich777 said:

    No, just:

    .ppignore

    (files that start with a dot on Linux are hidden)

     

    I think this should work too:

    abc
    abc*

    (the asterisk is a wildcard for everything after "abc", I actually don't know how PhotoPrism handles this case because it may be possible in this example that a folder only called "abc" is ignored because it looks for abc with something after it, but you can try it)

     

    Hope that makes sense to you.

    I tested it out with a few files and it seems to be working perfectly. Thanks a lot!

    • Like 1
  4. 3 minutes ago, ich777 said:

    Oh, found that, it's possible: Click

    Oh i see. I'll stick with "/mnt/cachetwo/data_nvme/photoprism/" then!

     

    I've seen that thread as well as this one but i don't really know i i understand it correctly. Let's say i want to ignore folder "abc", folder "abc123" as well as all raw, tiff and dng files in all folders. Can i do that with one ppignore file in the originals folder? So i create a text file called 1.ppignore and add these lines:

    abc

    abc123

    *.arw

    *.tif

    *.dng

     

    Would this work?

  5. 37 minutes ago, ich777 said:

    You don't need to create a variable, simply change the path from the Data Dir to "/mnt/cachetwo/data_nvme/photoprism/" and everything in terms of cache will go there, simply delete the variable.

    Thank you but i meant that i only want the cache files in "/mnt/cachetwo/data_nvme/photoprism/", and the config files/settings in "/mnt/cache/appdata/photoprism/". But i guess i can back up those files separately and now the appdata folder won't have all those images so i'm happy with this. I do have one other problem though. My "originals folder" contains 10 folders, and 2 of those i want photoprism to completely ignore. What's the easiest and most reliable way to do that?

  6. Hi! I need help with path mappings for photoprism. I'm trying to set it up so that the thumbnails are stored at /mnt/cachetwo/data_nvme/photoprism/ and the config files and settings at /mnt/cache/appdata/photoprism/. I found this page (screenshot) and this thread: https://issuehunt.io/r/photoprism/photoprism/issues/1124 but when i try it the webui becomes inaccessible. The log closes itself every few seconds but the error is: level=fatal msg="cannot create /mnt/cachetwo/data_nvme/photoprism, check config and permissions"

    1.PNG

    2.PNG

    3.PNG

  7. Hi! Every torrent i add to qbittorrent gets status "errored" or "stalled" as soon as they get added. What could be causing this, maybe some permissions issue? The ip looks right.

     

    Edit: I am also having troubles with the categories. Whatever path i put in doesn't seem to get saved when i add or edit the categories.

  8. 19 hours ago, JorgeB said:

    Disk dropped offline, this is usually a power/connection problem, if the emulated disk is mounting and contents look correct you can rebuild on top:

     

    https://wiki.unraid.net/Manual/Storage_Management#Rebuilding_a_drive_onto_itself

     

    On 1/16/2022 at 6:16 AM, devnet said:

    I think you were onto something with the cables...if you've made sure the attachment is clean and you still have issues, I'd replace the cables themselves and see if your issue persists.

     

    I've had something similar happen in a Gentoo install I had at work...similar error messages that you have inside your diagnostics.  In my case, it was a loose SATA cable.

     

     

    I'm newer to unraid so I can't really answer the 'next steps' question.  I'm sure there are others who know what should be done (at least I hope there are)

    Finished the rebuild and everything looks to be in order again. If it happens again I'll be switching out the cables. Thanks for the help!

    • Like 1
  9. I shut the server down, checked the cables and started it again. The SMART data attributes look good, i think, and it says SMART overall-health:Passed. I also got a notification saying "array turned good" and it now shows 0 errors in the main tab. What do i do now? With the array started the disk is still disabled, do i have to initiate a rebuild to get the data back? Or should i start a "Check" as seen in the second image?

    2.PNG

    3.PNG

  10. Long story short i had some problems with my cache drive, so now my appdata folder has been copied to the array and the cache drive is formatted. I am trying to restore the appdata from the disk back on to the cache but it says "No Backup Sets Found" which i assume is because the appdata folder has been copied and not created with the plugin. What do i need to do to be able to restore it? Do i have to create a backup with the tool using the appdata folder on the disk as source?

  11. On 1/13/2022 at 12:59 PM, JorgeB said:

    Back up anything you need to another disk/device, when done let Unraid format the cache and restore the data.

    I have now copied the appdata folder (some files got errors in midnight commander so they didn't get copied over) to the array. The nvme is formatted and i restarted the system. But when i go into the restore appdata tab it says "No Backup Sets Found". Do i have to create a backup with the tool using the appdata folder on the disk as source?

  12. Running

    mount -o degraded,usebackuproot,ro /dev/nvme1n1p1 /x

    in the terminal seems to have done the trick! The nvme drive now shows about as much free space as it did before. With the array started it still says "Unmountable: not mounted" but in mc the x folder shows up and everything seems to be there. What do i do now? Is there any way to use mc to just change directory from x to mnt/user/cache or whatever it is supposed to be? Or do i have to copy everything to the array and then restore from there somehow? I really appreciate the help!

  13. 38 minutes ago, JorgeB said:

    When the second device was first added filesystem crashed and went read-only, that would be a good time to make a backup if one didn't exist, since the device never finished adding pool is now in a messy state, there are some recovery options you can try here.

      

    With the first option i get this with the array stopped:

    wrong fs type, bad option, bad superblock on /dev/nvme1n1, missing codepage or helper program, or other error.

     

    What about these options? :

    2.PNG

    3.PNG

  14. I have just installed a new hard drive which is currently running a preclear operation and a second samsung 970 evo plus 2tb nvme for extra nvme space. So i added the new nvme drive to my cache pool and realised it was set to raid1 when i did that. I stopped the array and removed the the new nvme drive from the cache pool and restarted the array with the new nvme drive unassigned. Then i started getting error messages about the docker.img file, stopped the array and changed the number of devices in the pool back to 1, started array again and now docker won't start. When array is running the original nvme drive now says: cache Unmountable: not mounted. I have tried clicking on mount but it doesn't seem to help when array is stopped. Assigning the drive and starting array made no difference.

     

    What should i do?

  15. It says it the directory doesn't exist. iGPU was selected as primary graphics adapter last time i was in bios and hw transcoding worked before this issue started so that shouldn't be the problem. I don't have the intel gpu top plugin installed. The i915.conf file is created. Could it be because i have an 11th gen intel cpu (11500k)? The whole reason i moved to 6.10 -rc2 was to get hardware transcoding to work.

×
×
  • Create New...