primary key violation

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
big_troll
Posts: 10
Joined: Fri Nov 16, 2012 9:27 am

primary key violation

Post by big_troll »

I've got an error which causes mediaserver to crash:

INFO 2012-11-15 22:17:41.173 [New I/O server worker #2-4] Node(net.pms.dlna.virtual.MediaLibrary) already has an ID=0$5, which is overriden now. The previous parent node was:RootFolder[[MapFile [name=Music, id=0$1, format=null, children=[]], MapFile [name=Movies, id=0$2, format=null, children=[]], MapFile [name=tv optagelser, id=0$3, format=null, children=[]], MapFile [name=My Pictures, id=0$4, format=null, children=[]], VirtualFolder [id=5, name=Web, full path=0$5, ext=null, discovered=false]]]
ERROR 2012-11-15 22:18:24.013 [New I/O server worker #2-2] null
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.SUBTRACKS(FILEID, ID)"; SQL statement:
INSERT INTO SUBTRACKS VALUES (?, ?, ?, ?, ?) [23505-168]
Attachments
debug.log
(40.77 KiB) Downloaded 447 times
big_troll
Posts: 10
Joined: Fri Nov 16, 2012 9:27 am

Re: primary key violation

Post by big_troll »

Reboot PC and TV and Bob's Your Uncle. Very strange.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: primary key violation

Post by SubJunk »

Hi bigtroll, this bug will be fixed in the next version, thanks!
Post Reply