2015-08-14, 10:55
I think I will wrote a bug report, what do you think ?
15:47:32 T:139826474481600 NOTICE: Running database version Addons19
15:47:32 T:139826474481600 DEBUG: Initialize, updating databases...
15:47:32 T:139826474481600 NOTICE: Running database version ViewModes6
15:47:32 T:139826474481600 NOTICE: Running database version Textures13
15:47:32 T:139826474481600 NOTICE: Running database version MyMusic52
15:47:32 T:139826474481600 ERROR: Unable to open database: kodi-videos93 [1049](Unknown database 'kodi-videos93')
15:47:32 T:139826474481600 ERROR: Unable to open database: kodi-videos92 [1049](Unknown database 'kodi-videos92')
15:47:32 T:139826474481600 ERROR: Unable to open database: kodi-videos91 [1049](Unknown database 'kodi-videos91')
15:47:32 T:139826474481600 NOTICE: Old database found - updating from version 90 to 93
15:47:32 T:139826474481600 ERROR: SQL: Can't copy schema for table 'kodi-videos90'
Error: 1064
15:47:32 T:139826474481600 ERROR: Unable to copy old database kodi-videos90 to new version kodi-videos93
15:47:32 T:139826474481600 NOTICE: Running database version TV29
15:47:32 T:139826474481600 NOTICE: Running database version Epg10
15:47:32 T:139826474481600 DEBUG: Initialize, updating databases... DONE
ERROR 1356 (HY000) at line 1571: View 'kodi-videos93.episodeview' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
MariaDB [kodi-videos90]> SHOW FULL TABLES WHERE Table_type = 'BASE TABLE';
+-------------------------+------------+
| Tables_in_kodi-videos90 | Table_type |
+-------------------------+------------+
| actorlinkepisode | BASE TABLE |
| actorlinkmovie | BASE TABLE |
| actorlinktvshow | BASE TABLE |
| actors | BASE TABLE |
| art | BASE TABLE |
| artistlinkmusicvideo | BASE TABLE |
| bookmark | BASE TABLE |
| country | BASE TABLE |
| countrylinkmovie | BASE TABLE |
| directorlinkepisode | BASE TABLE |
| directorlinkmovie | BASE TABLE |
| directorlinkmusicvideo | BASE TABLE |
| directorlinktvshow | BASE TABLE |
| episode | BASE TABLE |
| files | BASE TABLE |
| genre | BASE TABLE |
| genrelinkmovie | BASE TABLE |
| genrelinkmusicvideo | BASE TABLE |
| genrelinktvshow | BASE TABLE |
| movie | BASE TABLE |
| movielinktvshow | BASE TABLE |
| musicvideo | BASE TABLE |
| path | BASE TABLE |
| seasons | BASE TABLE |
| sets | BASE TABLE |
| settings | BASE TABLE |
| stacktimes | BASE TABLE |
| streamdetails | BASE TABLE |
| studio | BASE TABLE |
| studiolinkmovie | BASE TABLE |
| studiolinkmusicvideo | BASE TABLE |
| studiolinktvshow | BASE TABLE |
| tag | BASE TABLE |
| taglinks | BASE TABLE |
| tvshow | BASE TABLE |
| tvshowlinkpath | BASE TABLE |
| version | BASE TABLE |
| writerlinkepisode | BASE TABLE |
| writerlinkmovie | BASE TABLE |
+-------------------------+------------+
39 rows in set (0.00 sec)
CLog::Log(LOGDEBUG, "SQL: %s", sql);
08:47:21 T:140409505155008 DEBUG: Initialize, updating databases...
08:47:21 T:140409505155008 NOTICE: Running database version ViewModes6
08:47:21 T:140409505155008 NOTICE: Running database version Textures13
08:47:21 T:140409505155008 NOTICE: Running database version MyMusic52
08:47:21 T:140409505155008 ERROR: Unable to open database: kodi-videos93 [1049](Unknown database 'kodi-videos93')
08:47:21 T:140409505155008 ERROR: Unable to open database: kodi-videos92 [1049](Unknown database 'kodi-videos92')
08:47:21 T:140409505155008 ERROR: Unable to open database: kodi-videos91 [1049](Unknown database 'kodi-videos91')
08:47:21 T:140409505155008 NOTICE: Old database found - updating from version 90 to 93
08:47:21 T:140409505155008 DEBUG: SQL: CREATE TABLE kodi-videos93.actorlinkepisode LIKE actorlinkepisode
08:47:21 T:140409505155008 ERROR: SQL: Can't copy schema for table 'kodi-videos90'
Error: 1064
08:47:21 T:140409505155008 ERROR: Unable to copy old database kodi-videos90 to new version kodi-videos93
08:47:21 T:140409505155008 NOTICE: Running database version TV29
08:47:21 T:140409505155008 NOTICE: Running database version Epg10
08:47:21 T:140409505155008 DEBUG: Initialize, updating databases... DONE
MariaDB [kodi-videos93]> CREATE TABLE kodi-videos93.actorlinkepisode LIKE actorlinkepisode;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-videos93.actorlinkepisode' at line 1
MariaDB [none]> DROP DATABASE `kodi-videos93`;
MariaDB [(none)]> drop database kodi-videos93;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-videos93' at line 1
MariaDB [kodi-videos93]> CREATE TABLE `kodi-videos93`.actorlinkepisode LIKE actorlinkepisode;
ERROR 1066 (42000): Not unique table/alias: 'actorlinkepisode'
08:47:21 T:140409505155008 ERROR: SQL: Can't copy schema for table 'kodi-videos90'
Error: 1064