View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri May 05, 2006 10:00 am 
Offline
Joined: Fri May 05, 2006 9:56 am
Posts: 6
Upon original install, I had a single hdd set up with all my information on it. due to the usage my recordings became large and saw the need to expand to a second HDD. I set this up and made the new HDD my storage for Videos/Music/File Storage. Leaving the main HDD to store my recordings and the OS. My issue comes in trying to access my music over Mythweb since the new HDD, before you could click on a song and it would download and play the link, now it shows up however clicking on the music results in a page not found and it seems to be pathing to the wrong area, how would you go about fixing this? Any information would be helpful.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 10:26 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Apache error log?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 12:18 pm 
Offline
Joined: Fri May 05, 2006 9:56 am
Posts: 6
Still fairly new to this, where can I find that log file? /etc/apache? or /var/www/mythweb?. NM Found it...


[Fri May 5 12:19:03 2006] [error] [client 204.209.209.129] File does not exist: /var/www/mythweb/music_url/0-9
/[10000 Maniacs]- Trouble Me.mp3

is the error I am getting, it shows up and is viewable in the Mythweb though just the link doesn't seem to pointing to the right section, perhaps still pointing to the old location on the original HDD?


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 7:15 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
http://www.knoppmythwiki.org/index.php? ... ngLogFiles


Top
 Profile  
 
 Post subject: thanks
PostPosted: Sat May 06, 2006 1:15 am 
Offline
Joined: Fri May 05, 2006 9:56 am
Posts: 6
I appreciate the help there tjc, but you will notice I edited the post and added the log file, now just curious how to fix the problem.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 06, 2006 8:41 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Didn't notice that... I blame pollen allergies messing with my eyes. ;-)

You're either missing a link from that directory to the real location, have a permissions/ownership problem on it, or have something misconfigured in /etc/mythtv/mythweb-settings.php (this is by far the least likely unless you've been doing anything there). So lets look at the directories in question...

Code:
root@black2:~# ls -al /var/www/
total 24
drwxr-xr-x   3 root     root     4096 May  1 22:36 .
drwxr-xr-x  15 root     root     4096 Aug  3  2004 ..
lrwxrwxrwx   1 www-data www-data   16 May  1 22:23 aviman -> /myth/avimanager
-rw-r--r--   1 www-data www-data  318 Jan 11 04:37 favicon.ico
-rwsr-sr-t   1 root     root       47 May  1 22:35 htdigest
-rw-r--r--   1 www-data www-data 3368 Apr 29 03:07 index.html
drwxr-xr-x   2 www-data www-data 4096 Apr 29 02:11 motion
lrwxrwxrwx   1 www-data www-data   25 May  1 22:23 mythtv-doc -> /usr/share/doc/mythtv-doc
lrwxrwxrwx   1 root     root       25 May  1 22:35 mythweb -> /usr/share/mythtv/mythweb

1st question - Have you got that link for mythweb? ownership doesn't matter and links are always wide open.

Now for the next link in the chain:
Code:
root@black2:~# ls -al /usr/share/mythtv/mythweb
total 72
drwxr-xr-x  13 www-data www-data 4096 May  1 22:36 .
drwxr-xr-x  10 root     root     4096 May  1 22:36 ..
lrwxrwxrwx   1 root     root       33 May  1 22:35 .htaccess -> /etc/mythtv/mythweb-htaccess.conf
-rw-r--r--   1 root     root      188 Apr  9 00:57 LICENSE
-rw-r--r--   1 root     root     7754 Apr  9 00:57 README
-rw-r--r--   1 root     root      543 Apr  9 00:57 TODO
drwxr-xr-x   2 root     root     4096 May  1 23:23 config
drwxr-xr-x   4 www-data www-data 4096 May  1 23:35 data
lrwxrwxrwx   1 www-data www-data   17 May  1 22:35 image_cache -> /myth/image_cache
drwxr-xr-x   4 root     root     4096 May  1 23:23 images
drwxr-xr-x   2 root     root     4096 May  1 23:23 includes
drwxr-xr-x   2 root     root     4096 May  1 23:23 js
drwxr-xr-x   2 root     root     4096 May  1 23:23 languages
drwxr-xr-x  13 root     root     4096 May  1 23:23 modules
lrwxrwxrwx   1 www-data www-data   11 May  1 22:22 music -> /myth/music
lrwxrwxrwx   1 root     root       11 May  1 22:35 music_dir -> /myth/music
lrwxrwxrwx   1 www-data www-data   11 May  1 22:22 music_url -> /myth/music
-rw-r--r--   1 root     root      958 Apr  9 00:57 mythweb.php
drwxrwxrwx   2 root     root     4096 May  1 22:35 php_sessions
drwxr-xr-x   3 root     root     4096 May  1 23:23 skins
drwxr-xr-x   2 root     root     4096 May  1 23:23 templates
drwxr-xr-x   5 root     root     4096 May  1 23:23 themes
lrwxrwxrwx   1 root     root        8 May  1 22:35 video_dir -> /myth/tv
lrwxrwxrwx   1 root     root       19 May  1 22:36 video_img -> /myth/video/.covers
lrwxrwxrwx   1 root     root       11 May  1 22:35 video_url -> /myth/video

Do you have all there music links here? And is the directory owned by www-data?

That ought to be enough to worry about for now...


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 06, 2006 8:41 am 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

Just curious as to how you did this second drive setup? It almost sounds as if you are trying to split the /myth partition using only selected parts. If so the system doesn't know that your music files are on the "old" /myth partition and only knows they don't exsist on the new one.

Mike


Top
 Profile  
 
 Post subject: Links
PostPosted: Sat May 06, 2006 9:16 am 
Offline
Joined: Fri May 05, 2006 9:56 am
Posts: 6
Okay looking it seems that my links are still referencing back to the old /Myth/music instead of the new /myth2/music. I will update them and try again. As to the question about the second hard drive set up. I have just created a mount named /myth2 off the second one and referenced inside the myth backend that all data relating to video/music etc is found there. I kinda figured it was a link problem but was unsure.


Top
 Profile  
 
 Post subject: **Fixed**
PostPosted: Sat May 06, 2006 9:38 am 
Offline
Joined: Fri May 05, 2006 9:56 am
Posts: 6
Thanks guys, it was just a Symlink pointing to the old directories. Pretty simple but I have alot to learn. Now onto installing my streaming music program jinzora. Pretty sure the symlink was the issue there.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 06, 2006 10:38 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
BTW - You may notice the larger pattern in the troubleshooting questions. Any time you've got problems with a file system object (in this case the file named in your error message) start from the root of the directory tree and walk out the path looking for existance, ownership, and permissions issues. If you get redirected by a link start the process again from directory containing the destination. You can also do it going the opposite direction from the file or directory back to the root.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 07, 2006 11:52 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Quote:
The calm I feel means a storm is swelling.
Great song!

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu