July 17, 201213 yr Upgraded server from 4.7 to RC6-R8168. I followed the upgrade instructions found here for 4.7 http://lime-technology.com/wiki/index.php?title=UnRAID_Server_Version_5.0-beta_Release_Notes. I ran the new permissions util and added my new user. I have been reading / writing / mofying data on the array from my win7 machine with no issues. I just ran into an issue when attempting to rescan yamj from a telnet session - something I have done many times on 4.7 YASS login: root Password: Linux 3.4.4-unRAID. root@YASS:~# yamj-rescan ./yamj-rescan: line 2: /mnt/user/Movies/YAMJ/My_YAMJ.sh: Permission denied I tried logging into telnet with my custom user but when I enter my password I get a message "Connection to host lost" (I know I'm typing my password correctly) While attempting to troubleshoot I noticed this message attempting to access the flash share. On 4.7 I've had access to this. Could someone please help.
July 17, 201213 yr Author YASS login: root Password: Linux 3.4.4-unRAID. root@YASS:~# ls -la /mnt/user/Movies/YAMJ total 5528 drwxrwx--- 1 nobody users 1048 2012-07-05 19:17 ./ drwxrwx--- 1 nobody users 160 2012-07-15 12:58 ../ -rw-rw---- 1 nobody users 109 2011-06-10 16:26 .mjbignore -rw-rw---- 1 nobody users 268 2011-06-10 16:26 MovieJukebox.bat -rw-rw---- 1 nobody users 284 2011-06-10 16:26 MovieJukebox.sh -rw-rw---- 1 nobody users 712 2011-07-14 06:15 My_Library.xml -rw-rw---- 1 nobody users 316 2011-05-03 09:19 My_YAMJ.sh -rw-rw---- 1 nobody users 11862 2011-06-10 16:26 README.TXT -rw-rw---- 1 nobody users 3165 2011-10-04 06:11 categories-default.xml -rw-rw---- 1 nobody users 2987 2011-07-13 21:29 categories-pfp.xml -rw-rw---- 1 nobody users 1089 2011-06-13 16:51 certification-default.xml -rw-rw---- 1 nobody users 1090 2011-08-23 10:43 certification-pfp.xml -rw-rw---- 1 nobody users 2320 2011-06-13 21:01 example-library.xml -rw-rw---- 1 nobody users 2677238 2012-07-05 19:17 filecache.txt -rw-rw---- 1 nobody users 1492 2011-06-10 16:26 genres-default.xml -rw-rw---- 1 nobody users 1500 2011-05-08 14:49 genres-pfp.xml drwxrwx--- 1 nobody users 1576 2011-10-06 17:58 lib/ drwxrwx--- 1 nobody users 88 2011-10-06 17:58 mediaInfo/ -rw-rw---- 1 nobody users 3890 2012-07-05 19:15 moviejukebox.ERROR.log -rw-rw---- 1 nobody users 2808087 2012-07-05 19:17 moviejukebox.log -rw-rw---- 1 nobody users 1534 2011-11-24 12:43 moviejukebox.properties drwxrwx--- 1 nobody users 528 2011-10-06 17:58 notices/ -rw-rw---- 1 nobody users 1416 2011-06-10 16:26 overlay-default.xml -rw-rw---- 1 nobody users 1626 2011-06-10 16:26 playlist.xsl drwxrwx--- 1 nobody users 248 2011-10-06 17:58 properties/ -rw-rw---- 1 nobody users 993 2011-03-27 19:21 ratings-default.xml -rw-rw---- 1 nobody users 72530 2011-10-06 18:11 release_notes.txt -rw-rw---- 1 nobody users 1708 2011-06-10 16:26 rss.xsl drwxrwx--- 1 nobody users 272 2011-10-06 17:58 skins/ -rw-rw---- 1 nobody users 96 2011-10-06 18:11 version.txt drwxrwx--- 1 nobody users 160 2011-10-06 18:01 watched_installer/ root@YASS:~#
July 17, 201213 yr Try: chmod 777 /mnt/user/Movies/YAMJ/My_YAMJ.sh Then re-run yamj-rescan and see what happens. Edit: You will also likely need to do the same for MovieJukebox.sh: chmod 777 /mnt/user/Movies/YAMJ/MovieJukebox.sh
July 17, 201213 yr Author Now I get this: /mnt/user/Movies/YAMJ/My_YAMJ.sh: line 8: ./MovieJukebox.sh: Permission denied Ah, just noticed the edit adding this other file too. Looks to be running now.
July 17, 201213 yr Sorry I had a quick brainfart and took the easy road.. probably best to set those to 754 and see if it still works. Should be a little more secure. Just repeat the same process for both files only replacing the digits, if it doesn't work when you set them to 754 just set it back to 777.
July 17, 201213 yr Author It did finish although I received an error like this for all new titles added since the last run on 4.7. For now I'll assume this is unrelated to the upgrade to 5.0. I'm off to see what fun i may have in store getting the Popcorn Hour device to work now and hopefully to watch a movie. It seems to me this chmod command on these two files as a workaround and I'd really like to get to the bottom of what changed and how to operate like I used to. Processing new video: Wrath of the Titans Failed retreiving IMDb data for movie : tt1646987 java.lang.StringIndexOutOfBoundsException: String index out of range: -38 at java.lang.String.substring(Unknown Source) at com.moviejukebox.plugin.ImdbPlugin.updateInfoNew(ImdbPlugin.java:851) at com.moviejukebox.plugin.ImdbPlugin.updateImdbMediaInfo(ImdbPlugin.jav a:236) at com.moviejukebox.plugin.ImdbPlugin.scan(ImdbPlugin.java:124) at com.moviejukebox.plugin.DatabasePluginController.scan(DatabasePluginC ontroller.java:78) at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1842) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:978) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:963) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at com.moviejukebox.tools.ThreadExecutor$ScheduledThread.run(ThreadExecu tor.java:114) Movie 'Wrath of the Titans' was not able to be scanned using the current plugins Finished: Wrath of the Titans (1085/1097)
July 18, 201213 yr This could still be a permissions issue but I don't know much about the plugin sorry. Does the plugin writer offer a way to easily reinstall without losing your config? + Can you post a syslog?
July 18, 201213 yr Have you tried using NO user? Put a password on root, clear your credential manager in windows control panel (if you set that up), remap ur mapped drives using no username/password, set shares to 'public' in the webui, and then everything you do should be under the user "Nobody". You don't need to create this user, it's automatic. A quick way to test if you did it right is access unraid from your Windows PC, create a text file, then look at the permissions of it, one of them should say "nobody". If you do this you'll need to re-run new permissions again because any file you created under your existing user name won't be accessible with "nobody" until you do. I've never had issues doing this, it's the ideal setup if you don't need a password on your shares. I don't think most people need a password because who accesses your local network that you don't trust? Assuming you have a PW on your wireless router. To sign in with nobody on the popcorn hour you'll need to use "nobody" and set the password to something like "a". For some reason the popcorn hour wants a password to access 'nobody', but it doesn't seem to matter what you put. As for those new movie errors, seems more like you are on a bugged version of YAMJ. Try updating it to latest build: http://mediaplayersite.com/YAMJ_Latest. I'm on R3145, and he made changes with IMDB with the last build, so if your already on the latest build then try to downgrade to R3145. These nightly builds can be buggy.
Archived
This topic is now archived and is closed to further replies.