Najpierw usuń obrazy Supli, które masz pobrane/wybudowane, dopiero potem zabierz się za instalowanie od nowa.
Jak zaczniesz od nowa, to po wygenerowaniu .env podmień katalog /var a dopiero na końcu wystartuj skrypt.
Problem z własną instancją Supli
-
jaku2k
- Posts: 920
- Joined: Sun May 24, 2020 8:40 pm
- Has thanked: 1 time
Dziękuję bardzo za pomoc. Udało się uruchomić.lesny8 wrote: Wed Feb 23, 2022 7:27 am Najpierw usuń obrazy Supli, które masz pobrane/wybudowane, dopiero potem zabierz się za instalowanie od nowa.
Jak zaczniesz od nowa, to po wygenerowaniu .env podmień katalog /var a dopiero na końcu wystartuj skrypt.
Niestety nie ma zapisanych danych (urządzeń, identyfikatorów dostępu, itd.).
Pozdrawiam
Jakub
Jakub
-
jaku2k
- Posts: 920
- Joined: Sun May 24, 2020 8:40 pm
- Has thanked: 1 time
Poniżej zamieszczam logi supla-server
Jak wpisałem to w Cloudzie w końcu zaczęły się rejestrować urządzenia. Niestety danych brak.
Pewnie, tak jak Panowie piszecie, popełniłem gdzieś błąd przy kopiowaniu var-a. Czekam na ustosunkowanie się do wiadomości powyżej.
Code: Select all
2022-02-23 15:04:47,407 INFO exited: supla-server (exit status 1; not expected)
INFO[1645628687.440059] Scheduler version 2.3.11
INFO[1645628687.440143] Started at Wed Feb 23 15:04:47 2022
2022-02-23 15:04:47,441 INFO spawned: 'supla-server' with pid 29
ERR[1645628687.442443] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
ERR[1645628687.442951] The version of the database can not be determined!
2022-02-23 15:04:47,443 INFO exited: supla-scheduler (exit status 1; not expected)
INFO[1645628687.449336] Server version 2.3.52 [Protocol v17]
INFO[1645628687.449411] Started at Wed Feb 23 15:04:47 2022
ERR[1645628687.451795] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
ERR[1645628687.451916] The version of the database can not be determined!
2022-02-23 15:04:47,452 INFO exited: supla-server (exit status 1; not expected)
2022-02-23 15:04:48,454 INFO spawned: 'supla-scheduler' with pid 30
2022-02-23 15:04:48,455 INFO spawned: 'supla-server' with pid 31
INFO[1645628688.459962] Scheduler version 2.3.11
INFO[1645628688.460295] Started at Wed Feb 23 15:04:48 2022
ERR[1645628688.462656] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
INFO[1645628688.463226] Server version 2.3.52 [Protocol v17]
ERR[1645628688.463371] The version of the database can not be determined!
INFO[1645628688.463393] Started at Wed Feb 23 15:04:48 2022
2022-02-23 15:04:48,464 INFO exited: supla-scheduler (exit status 1; not expected)
ERR[1645628688.465797] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
ERR[1645628688.465946] The version of the database can not be determined!
2022-02-23 15:04:48,466 INFO exited: supla-server (exit status 1; not expected)
2022-02-23 15:04:50,469 INFO spawned: 'supla-scheduler' with pid 32
2022-02-23 15:04:50,470 INFO spawned: 'supla-server' with pid 33
INFO[1645628690.474819] Scheduler version 2.3.11
INFO[1645628690.475303] Started at Wed Feb 23 15:04:50 2022
ERR[1645628690.477485] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
ERR[1645628690.478122] The version of the database can not be determined!
2022-02-23 15:04:50,479 INFO exited: supla-scheduler (exit status 1; not expected)
INFO[1645628690.479400] Server version 2.3.52 [Protocol v17]
INFO[1645628690.479461] Started at Wed Feb 23 15:04:50 2022
ERR[1645628690.481181] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
ERR[1645628690.481470] The version of the database can not be determined!
2022-02-23 15:04:50,482 INFO exited: supla-server (exit status 1; not expected)
2022-02-23 15:04:53,486 INFO spawned: 'supla-scheduler' with pid 34
2022-02-23 15:04:53,488 INFO spawned: 'supla-server' with pid 35
INFO[1645628693.609722] Scheduler version 2.3.11
INFO[1645628693.610367] Started at Wed Feb 23 15:04:53 2022
INFO[1645628693.611042] Server version 2.3.52 [Protocol v17]
INFO[1645628693.611505] Started at Wed Feb 23 15:04:53 2022
ERR[1645628693.612743] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
ERR[1645628693.613215] The version of the database can not be determined!
2022-02-23 15:04:53,614 INFO exited: supla-scheduler (exit status 1; not expected)
ERR[1645628693.614475] MySQL - stmt prepare error - Table 'supla.migration_versions' doesn't exist
2022-02-23 15:04:53,615 INFO gave up: supla-scheduler entered FATAL state, too many start retries too quickly
ERR[1645628693.614592] The version of the database can not be determined!
2022-02-23 15:04:53,615 INFO exited: supla-server (exit status 1; not expected)
2022-02-23 15:04:53,615 INFO gave up: supla-server entered FATAL state, too many start retries too quickly
Code: Select all
docker restart supla-serverPewnie, tak jak Panowie piszecie, popełniłem gdzieś błąd przy kopiowaniu var-a. Czekam na ustosunkowanie się do wiadomości powyżej.
Pozdrawiam
Jakub
Jakub
-
jaku2k
- Posts: 920
- Joined: Sun May 24, 2020 8:40 pm
- Has thanked: 1 time
Jeśli dobrze rozumuję, to chyba jednak poprzednie wariacje komend, jakie wykonałem (te, o których wspominam na początku tego wątku) spowodowały usunięcie danych z bazy danych. Jak próbuję otworzyć wczoraj pobrany plik supla.sql (zarówno notatnikiem, jak i phpmyadminem), to otrzymuję puty dokument.
Z racji tego, że na pulpicie zrobił się niezły bałagan, to trudno mi się odnaleźć w chronologii pobierania plików. Mam jednak wciągnięty do phpmyadmina plik, który zawiera różne tabele, niestety również puste.
You do not have the required permissions to view the files attached to this post.
Pozdrawiam
Jakub
Jakub
