Hey there,
Im amazed of greyhole and Amahi, keep it up. The interface already helped me a lot to understand the core features of it and work with it. Ive just got 1 small question.
I mean if I put a file into the landing zone and after greyhole puts it into the greyhole folder and puts the symlink it also puts metadata and metadata backup files into the pool drives. What do I have to do to remove the file itself? Do I have to go through all metadata and gh folders and remove them by myself?
I hope it was not too hard to understand what I try to achieve.
Regards,
Jan
SOLVED: How to delete a file
Re: How to delete a file
When you delete files from the share, Greyhole will automatically remove it from the /gh directories and database. This will occur the next time it runs.
If you want to learn more about how Greyhole works, check out the wiki or the Greyhole home page.
https://wiki.amahi.org/index.php/Greyhole
http://www.greyhole.net/
If you want to learn more about how Greyhole works, check out the wiki or the Greyhole home page.
https://wiki.amahi.org/index.php/Greyhole
http://www.greyhole.net/
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 11
- Joined: Sat Jul 20, 2013 12:40 pm
Re: How to delete a file
Thanks a lot..
Sometimes its really as easy as you think it is, but one never knows. You helped me a lot, appreciate it
Ive looked at that posts already, but just couldnt help me with this point in general.

Ive looked at that posts already, but just couldnt help me with this point in general.
-
- Posts: 11
- Joined: Sat Jul 20, 2013 12:40 pm
Re: SOLVED: How to delete a file
Ive tried this now several times.
The thing is, I have to run greyhole -f with a crontab, it snot doing it automatically. And greyhole -f does recreate the symbolic link when I previously removed it :/ I was expecting that greyhole then deletes the files itself
The thing is, I have to run greyhole -f with a crontab, it snot doing it automatically. And greyhole -f does recreate the symbolic link when I previously removed it :/ I was expecting that greyhole then deletes the files itself
Re: SOLVED: How to delete a file
The fsck should run automatically. What OS are you using? What version of Greyhole?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 11
- Joined: Sat Jul 20, 2013 12:40 pm
Re: SOLVED: How to delete a file
Well it actually is running but the log does say nothing but this :
Its like it doesn't see something in the Landing Zone
Ive updated to the latest greyhole today, version 0.9.34.
Im using Ubuntu Server 12.04
Code: Select all
Sep 08 21:28:38 7 sleep: Nothing to do... Sleeping.
Ive updated to the latest greyhole today, version 0.9.34.
Im using Ubuntu Server 12.04
Re: SOLVED: How to delete a file
Check out the guidance in the wiki. There are some troubleshooting tips that might help.
https://wiki.amahi.org/index.php/Greyho ... leshooting
https://wiki.amahi.org/index.php/Greyho ... leshooting
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 11
- Joined: Sat Jul 20, 2013 12:40 pm
Re: SOLVED: How to delete a file
The greyhole update seems to have fixed it, it tonight created all the sym links and copied it to the correct folders.
Now I get a php error :
Its not really important as it does work as it should, at least it seems that way.
Now I get a php error :
Code: Select all
4 write: PHP Warning [8]: Uninitialized string offset: -1 in /usr/bin/greyhole on line 692; BT: greyhole[L2881] execute_next_task() => greyhole[L3227] gh_write(Movies,Promised.Land.(2013)/Promised.Land.cd2.orig.nfo,4800) => greyhole[L3837] gh_write_process_metafiles(1,array (),Movies,Promised.Land.(2013)/Promised.Land.cd2.orig.nfo,/var/hda/files/drives/drive5/Movies/Promised.Land.(2013)/Promised.Land.cd2.orig.nfo,6255,4800) => greyhole[L3876] save_metafiles(Movies,Promised.Land.(2013),Promised.Land.cd2.orig.nfo,array ( '/var/hda/files/drives/drive2/gh/Movies/Promised.Land.(2013)/Promised.Land.cd2.orig.nfo' => stdClass::__set_state(array( 'path' => '/var/hda/files/drives/drive2/gh/Movies/Promised.Land.(2013)/Promised.Land.cd2.orig.nfo', 'is_linked' => true, 'state' => 'Pending', )),)) => greyhole[L4321] gh_mkdir(/var/hda/files/drives/drive2/gh/.gh_metastore/Movies/Promised.Land.(2013),/var/hda/files/drives/drive5/Movies/Promised.Land.(2013)) => greyhole[L4058] clean_dir(/)
Re: SOLVED: How to delete a file
Unsure what that warning is about. Maybe it will resolve itself. Glad things are working better now for you.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 18 guests