FAQ  •  Register  •  Login

No Folder Refresh after Server Pause/Restart

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Feb 02, 2012 12:25 am

No Folder Refresh after Server Pause/Restart

After Stopping the Server overnight using the Console Stop Server button, when I restart the server using the Console Start button, none of the 10 minute folder refreshes that were happening before the Stop have been resumed. Consequently the menu items are all dated yesterday and many no longer exist. When I click on those items I get a process error. It would appear that Serviio is not logging the active events when the [EventSubscriptionExpirationChecker] is stopped so that they can be resumed when the [EventSubscriptionExpirationChecker] is restarted.
I need to restart Serviio to have it resume the correct refresh operations.

There also appear to be other problems because it is now 19:25 and there have been no other log entries, which does not mirror typical experience.
Here are the relevant log entries:
  Code:
2012-01-31 23:29:32,006 DEBUG [OnlineLibraryManager] Online resource http://www.testit.com/c-11.html expired, will reload it
2012-01-31 23:29:32,006 DEBUG [OnlineLibraryManager] Resource http://www.testit.com/c-11.html not in cache yet, loading it
2012-01-31 23:29:32,006 DEBUG [WebResourceParser] Parsing web resource 'http://www.testit.com/c-11.html'
2012-01-31 23:29:32,007 DEBUG [WebResourceParser] Found matching url extractor (testit) for resource http://www.testit.com/c-11.html
2012-01-31 23:29:32,007 DEBUG [FeedItemUrlExtractor] testit: Starting parsing resource: http://www.testit.com/c-11.html
2012-01-31 23:29:32,499 WARN  [WebResourceParser] Plugin returned null container
2012-01-31 23:29:32,500 WARN  [OnlineContentCacheDecorator] Could not store object to local cache (online_feeds): Value must not be null
2012-01-31 23:29:32,500 DEBUG [OnlineLibraryManager] Feed http://www.testit.com/c-11.html will expire in the cache on Wed Feb 01 23:29:32 EST 2012
2012-01-31 23:29:32,500 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.lang.NullPointerException
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:95)
2012-01-31 23:30:32,500 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-01-31 23:30:32,528 DEBUG [OnlineLibraryManager] Online resource https://sites.google.com/site/serviiorss/LiveFeeds_HD_ADULT.rss expired, will reload it
2012-01-31 23:30:32,528 DEBUG [OnlineLibraryManager] Resource https://sites.google.com/site/serviiorss/LiveFeeds_HD_ADULT.rss not in cache yet, loading it
2012-01-31 23:30:32,528 DEBUG [FeedParser] Parsing feed 'https://sites.google.com/site/serviiorss/LiveFeeds_HD_ADULT.rss'
2012-01-31 23:30:33,681 DEBUG [FeedParser] Found matching url extractor (LiveFeeds) for resource https://sites.google.com/site/serviiorss/LiveFeeds_HD_ADULT.rss
2012-01-31 23:30:33,681 DEBUG [FeedItemUrlExtractor] LiveFeeds: Starting extraction of url for item: ADULT-Hustler HD
2012-01-31 23:30:33,682 DEBUG [FeedItemUrlExtractor] LiveFeeds: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=rtmp://s7.webport.tv/live/z990102.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1, live=true, expiresImmediately=false, ]
2012-01-31 23:30:33,682 DEBUG [FeedParser] Added feed item 1: 'ADULT-Hustler HD' (rtmp://s7.webport.tv/live/z990102.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1)
2012-01-31 23:30:33,683 DEBUG [FeedItemUrlExtractor] LiveFeeds: Starting extraction of url for item: ADULT-Penthouse HD
2012-01-31 23:30:33,684 DEBUG [FeedItemUrlExtractor] LiveFeeds: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=rtmp://s7.webport.tv/live/z990103.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1, live=true, expiresImmediately=false, ]
2012-01-31 23:30:33,684 DEBUG [FeedParser] Added feed item 2: 'ADULT-Penthouse HD' (rtmp://s7.webport.tv/live/z990103.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1)
2012-01-31 23:30:33,684 DEBUG [FeedItemUrlExtractor] LiveFeeds: Starting extraction of url for item: ADULT-Penthouse2 HD
2012-01-31 23:30:33,685 DEBUG [FeedItemUrlExtractor] LiveFeeds: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=rtmp://s7.webport.tv/live/z990104.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1, live=true, expiresImmediately=false, ]
2012-01-31 23:30:33,685 DEBUG [FeedParser] Added feed item 3: 'ADULT-Penthouse2 HD' (rtmp://s7.webport.tv/live/z990104.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1)
2012-01-31 23:30:33,686 DEBUG [FeedItemUrlExtractor] LiveFeeds: Starting extraction of url for item: ADULT-Redlight HD
2012-01-31 23:30:33,687 DEBUG [FeedItemUrlExtractor] LiveFeeds: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=rtmp://s7.webport.tv/live/z990101.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1, live=true, expiresImmediately=false, ]
2012-01-31 23:30:33,687 DEBUG [FeedParser] Added feed item 4: 'ADULT-Redlight HD' (rtmp://s7.webport.tv/live/z990101.stream app=live swfUrl=http://blah.com/player.swf tcUrl=rtmp://s7.webport.tv/live/ pageUrl=http://www.tvsector.com/ swfVfy=0 live=1)
2012-01-31 23:30:33,687 DEBUG [OnlineContentCacheDecorator] Stored online content 'https://sites.google.com/site/serviiorss/LiveFeeds_HD_ADULT.rss' in the cache (online_feeds), returning it
2012-01-31 23:30:33,687 DEBUG [OnlineLibraryManager] Feed https://sites.google.com/site/serviiorss/LiveFeeds_HD_ADULT.rss will expire in the cache on Wed Feb 01 23:30:33 EST 2012
2012-01-31 23:30:33,734 DEBUG [OnlineLibraryManager] Online resource http://www.testit.com/c-1.html expired, will reload it
2012-01-31 23:30:33,734 DEBUG [OnlineLibraryManager] Resource http://www.testit.com/c-1.html not in cache yet, loading it
2012-01-31 23:30:33,734 DEBUG [WebResourceParser] Parsing web resource 'http://www.testit.com/c-1.html'
2012-01-31 23:30:33,735 DEBUG [WebResourceParser] Found matching url extractor (testit) for resource http://www.testit.com/c-1.html
2012-01-31 23:30:33,735 DEBUG [FeedItemUrlExtractor] testit: Starting parsing resource: http://www.testit.com/c-1.html
2012-01-31 23:30:34,131 WARN  [WebResourceParser] Plugin returned null container
2012-01-31 23:30:34,131 WARN  [OnlineContentCacheDecorator] Could not store object to local cache (online_feeds): Value must not be null
2012-01-31 23:30:34,131 DEBUG [OnlineLibraryManager] Feed http://www.testit.com/c-1.html will expire in the cache on Wed Feb 01 23:30:34 EST 2012
2012-01-31 23:30:34,131 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.lang.NullPointerException
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:95)
2012-01-31 23:30:34,136 DEBUG [OnlineLibraryManager] Online resource http://www.notmine.ca/channels/?p=2 expired, will reload it
2012-01-31 23:30:34,136 DEBUG [OnlineLibraryManager] Resource http://www.notmine.ca/channels/?p=2 not in cache yet, loading it
2012-01-31 23:30:34,136 DEBUG [WebResourceParser] Parsing web resource 'http://www.notmine.ca/channels/?p=2'
2012-01-31 23:30:34,136 DEBUG [WebResourceParser] Found matching url extractor (notmine) for resource http://www.notmine.ca/channels/?p=2
2012-01-31 23:30:34,136 DEBUG [FeedItemUrlExtractor] notmine: Starting parsing resource: http://www.notmine.ca/channels/?p=2
2012-01-31 23:41:59,535 INFO  [WebServer] WebServer shutting down
2012-01-31 23:41:59,536 INFO  [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2012-01-31 23:41:59,536 INFO  [EventDispatcher] Leaving EventDispatcher
2012-01-31 23:41:59,535 INFO  [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2012-01-31 23:42:00,722 INFO  [RendererExpirationChecker] Leaving RendererExpirationChecker
2012-01-31 23:42:04,251 INFO  [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2012-02-01 17:53:05,937 INFO  [WebServer] WebServer starting on port 8895
2012-02-01 17:53:05,937 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2012-02-01 17:53:05,937 INFO  [EventDispatcher] Starting EventDispatcher
2012-02-01 17:53:05,937 INFO  [RendererSearchSender] Searching for Renderer devices
2012-02-01 17:53:05,937 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2012-02-01 17:53:06,099 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface net4 (Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC) and address 192.168.1.10, timeout = 0
2012-02-01 17:56:39,833 INFO  [PluginCompilerThread] Added Web Resouce plugin notmine (notmine.groovy)
2012-02-01 17:57:20,036 INFO  [PluginCompilerThread] Added Web Resouce plugin testit (testit.groovy)
2012-02-01 19:01:11,370 WARN  [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
2012-02-01 19:01:51,442 WARN  [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 02, 2012 12:27 am

Re: No Folder Refresh after Server Pause/Restart

raise a ticket, thanks

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 17 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.