styxit / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
http://htpc.io
MIT License
529 stars 183 forks source link

Unable to create XBMC-Server in database #124

Open nazbrok opened 10 years ago

nazbrok commented 10 years ago

Hi,

I have this error whenever i try to add a xbmc server in the settings. I am on a synology, could it be read/write access issue to some file ?

regards

styxit commented 10 years ago

What was the previous error message? (probably debug-level) There should be some kind of exception

Are you able to save anything else, like nzbget settings or dashboard settings? If yes, then it has nothing to do with the write-permissions, because everything is written into one sqlite database.

nazbrok commented 10 years ago

Hère is the log.

BusyBox v1.16.1 (2013-04-16 20:15:54 CST) built-in shell (ash) Enter 'help' for a list of built-in commands.

NAS> cd /usr/local/htpcmanager/var/ NAS> cat htpcmanager.log 2014-01-15 00:39:03 :: modules.xbmc :: ERROR :: Unable to create XBMC-Server in database 2014-01-15 00:39:09 :: modules.xbmc :: ERROR :: Unable to create XBMC-Server in database 2014-01-15 00:39:31 :: modules.xbmc :: ERROR :: Unable to fetch movies! 2014-01-15 00:39:32 :: modules.xbmc :: ERROR :: Unable to fetch currently playing information! 2014-01-15 00:39:33 :: modules.xbmc :: ERROR :: Unable to fetch currently playing information! 2014-01-15 00:39:34 :: modules.xbmc :: ERROR :: Unable to fetch currently playing information! 2014-01-15 00:39:35 :: modules.xbmc :: ERROR :: Unable to fetch movies! 2014-01-15 00:39:35 :: modules.xbmc :: ERROR :: Unable to fetch currently playing information! NAS>

Anyway it now works, i had to restart the service, a page refresh wasn't enough.

jmdacruz commented 10 years ago

I was experiencing the exact same error, also on a Synology NAS and using the build provided by http://www.synocommunity.com/packages. After restarting the service everything started working properly.

morriscode commented 10 years ago

I'm having the same problem. No NAS thought, just a raspberry pi. Log only shows:

modules.xbmc :: ERROR :: Unable to create XBMC-Server in database modules.xbmc :: ERROR :: Unable to create XBMC-Server in database modules.xbmc :: ERROR :: Unable to create XBMC-Server in database modules.xbmc :: ERROR :: Unable to create XBMC-Server in database

weaselwebb commented 9 years ago

Hi has anyone got a fix for this yet got the same problem today after install : 2014-12-18 19:34:16 modules.xbmc ERROR Unable to fetch currently playing information! 2014-12-18 19:34:16 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:34:15 modules.xbmc ERROR Unable to fetch currently playing information! 2014-12-18 19:34:15 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:34:14 modules.xbmc ERROR Unable to fetch currently playing information! 2014-12-18 19:34:14 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:34:13 modules.xbmc ERROR Unable to fetch currently playing information! 2014-12-18 19:34:13 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:34:12 modules.xbmc ERROR Unable to fetch currently playing information! 2014-12-18 19:34:12 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:34:11 modules.xbmc ERROR Unable to fetch movies! 2014-12-18 19:34:11 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:28:58 modules.xbmc ERROR Unable to fetch recently added TV Shows 2014-12-18 19:28:58 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:28:58 modules.xbmc ERROR Unable to fetch recently added movies! 2014-12-18 19:28:58 modules.xbmc ERROR 'NoneType' object has no attribute 'host' 2014-12-18 19:23:02 modules.xbmc ERROR Unable to create XBMC-Server in database

Hellowlol commented 9 years ago

@weaselwebb have you tried restarting the service? It seems to have fixed the issue for others.

weaselwebb commented 9 years ago

Hi Thanks Did a restart still and all work fine

Thanks