[vz-users] Neubeginn nach Kartencrash

Andreas Götz cpuidle at gmail.com
Sa Nov 7 20:10:43 CET 2020


Ist ohne Deine Datei schwer zu sagen...

Viele Grüße,
Andreas

> Am 07.11.2020 um 18:12 schrieb John Doe <johndoe at null.net>:
> 
> 
>  
> 
> Hallo zusammen,
>  
> da ich mir leider doch das Vorgehen vom letzten Mal nicht notiert habe, fehlt mir jetzt wieder der Einstieg.
> Ich habe
>  
> - eine Kopie sqlite.db3 der Datenbank
> - eine Kopie der vzlogger.conf
> - eine Kopie der dbcopy.yaml, mir der ich die Datenbank-Kopie erstellt habe.
>  
> Ich habe
>  
> - das aktuelle VZ-Image installiert und mit Updates versehen
> - die Kopie sqlite.dpb3 in das neue Home-Verzeichnis kopiert
> - die gesicherte vzlogger.conf und dbcopy.yaml nach /etc kopiert.
>  
> Ein Aufruf von
>  
> sudo /var/www/volkszaehler.org/vendor/bin/dbcopy create -c /etc/dbcopy.yaml
>  
> bringt
>  
> Creating target schema
> PHP Notice:  Undefined variable: schema in /home/pi/volkszaehler.org/vendor/andig/dbcopy/src/Command/CreateCommand.php on line 155
> PHP Fatal error:  Uncaught Error: Call to a member function toSql() on null in /home/pi/volkszaehler.org/vendor/andig/dbcopy/src/Command/CreateCommand.php:155
> Stack trace:
> #0 /home/pi/volkszaehler.org/vendor/symfony/console/Command/Command.php(255): DatabaseCopy\Command\CreateCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #1 /home/pi/volkszaehler.org/vendor/symfony/console/Application.php(921): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #2 /home/pi/volkszaehler.org/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(DatabaseCopy\Command\CreateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #3 /home/pi/volkszaehler.org/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Co in /home/pi/volkszaehler.org/vendor/andig/dbcopy/src/Command/CreateCommand.php on line 155
>  
>  
> Was mache ich denn diesmal wieder falsch ?
> Beste Grüße
>  
> JD.
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20201107/b6d3900e/attachment.html>


Mehr Informationen über die Mailingliste volkszaehler-users