Author Topic: Files in Database only  (Read 903 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Files in Database only
« on: December 24, 2005, 09:20:01 pm »
Hi.
I added some files manually to the \home\public\music folder and
did the resync.
Now it shows those files/tracks as "Files in Database only".
Any trick behind it which i missed?
I did the change in the file sudoers as mentionned in another thread.

Thanks and regards

Danny

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Files in Database only
« Reply #1 on: January 06, 2006, 11:34:42 am »
If you made the change to the sudoers, it should work. Open a console, and try:
Code: newbielink:javascript:void(0); [nonactive]

su - www-data

and then
Code: newbielink:javascript:void(0); [nonactive]

sudo -u root find "/home/public/data/music" -maxdepth 1 -not -name '*.id3'

The last one is the command who retrieve the files from disk, and if it ask for password, you must allow that "find" command to be run using sudo without asking for password.