Geloest: xxv 0.42 - Aufnahmen werden nicht eingelesen

  • Hallo,


    nachdem ich die 0.42 installiert habe, kann ich die Aufnahmen nicht mehr anzeigen lassen. Update funktioniert auch nicht mehr. Im Logfile steht:


    DBD::mysql::st execute failed: Unknown column 'Prio' in 'field list' at /usr/share/perl5/vdr-xxv//XXV/MODULES/RECORDS.pm line 304


    Installiert ist ct-vdr 4.


    Wer lesen kann ist klar im Vorteil. Die Spalte Prio fehlte in der Tabelle.
    DB neu angelegt.


    Gruss,
    the_duke

  • Bei mir fehlten außerdem noch die Spalten Marks und Lifetime.


    Für die SQL-Unkundigen:


    um die fehlenden Spalten hinzuzufügen, müsst ihr die mysql-Konsole starten mit dem Kommando mysql, dort zur Datrenbank xxv wechseln mit use xxv;
    Hier können nun die Spalten eingefügt werden, bspw.
    alter table RECORDS add Prio int;

  • Zitat

    Original von BlauAufmBau
    Bei mir fehlten außerdem noch die Spalten Marks und Lifetime.


    Für die SQL-Unkundigen:


    um die fehlenden Spalten hinzuzufügen, müsst ihr die mysql-Konsole starten mit dem Kommando mysql, dort zur Datrenbank xxv wechseln mit use xxv;
    Hier können nun die Spalten eingefügt werden, bspw.
    alter table RECORDS add Prio int;


    Stimmt, aber es geht einfacher mit dem mitgelieferten Skript update-xxv, das konvertiert Eure alte XXV Database in ein neues Format und sichert dabei alle wichtigen Daten. Sucht das Skript mal mit

    Code
    locate update-xxv
  • Zitat


    Stimmt, aber es geht einfacher mit dem mitgelieferten Skript update-xxv, das konvertiert Eure alte XXV Database in ein neues Format und sichert dabei alle wichtigen Daten. Sucht das Skript mal mit...


    Leider stolpert MySQL beim Aufruf von update-xxv allerdings über die Tabelleneigenschaften DEFAULT CHARSET=isolatin1.


    Habe ctvdr4


    Gruß,
    Manfred


  • Also ich hab bei mir nachgeschaut, diese Einstellung steht bei mir nirgendwo drin. Kannst du den Fehler vielleicht nachvollziehen und uns mal die Fehlerausgabe zukommen lassen?

  • /usr/share/vdr-xxv/contrib/update-xxv benutzt die Datei upgrade-xxv-db.sql


    Darin werden die Tabellen erzeugt:


    create table
    ...
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;


    Und genau darüber stolpert mein MySQL-Server 4.0.24 mit der folgenden Fehlermeldung:


    update-xxv
    ----------


    Info: Checking Server
    Info: Checking Database
    Info: Retrieving current version
    Info: current database version: 0
    Info: new database version: 2
    Info: Starting update...
    Info: Saving Data
    Info: Updating Database
    ERROR 1064 at line 21: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 19
    ERROR 1064 at line 46: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 18
    ERROR 1064 at line 70: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 COMMENT='0.35'' at line 14
    ERROR 1064 at line 90: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 15
    ERROR 1064 at line 111: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 4
    ERROR 1064 at line 121: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 14
    ERROR 1064 at line 141: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
    PRIMARY KEY (
    ERROR 1064 at line 160: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
    PRIMARY KEY (
    ERROR 1064 at line 185: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 8
    ERROR 1064 at line 199: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 3
    ERROR 1064 at line 208: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 COMMENT='V0.30'' at line 4
    Info: Restoring Data
    ERROR 1146 at line 1: Table 'xxv.AUTOTIMER' doesn't exist
    Error: Can't load table 'AUTOTIMER'



    Viele Grüße,
    Manfred

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!