SUPLA Scripts
- uchnast.michal
- Posty: 1073
- Rejestracja: wt cze 04, 2019 11:37 am
Po wciśnięciu przycisku 'I' (informacja) na danym urządzeniu nie wyświetla się nic. Mam u siebie dockera Cloud i Scripts. Scripts ma pełne uprawnienia do urządzeń w Cloud. Blokowanie reklam jest wyłączone. Czy coś muszę dodatkowo ustawić?
chciałem zrobić aktualizację do 4.3.0 i dostaję coś takiego:
o co chodzi??
Kod: Zaznacz cały
pi@RPI-4:~/supla-scripts$ git pull
Updating 55d47e6..7786c9b
error: Your local changes to the following files would be overwritten by merge:
backend/app/commands/DispatchTimeScenesExecutionCommand.php
backend/controllers/StateLogsController.php
backend/controllers/StateWebhookController.php
backend/database/migrations/20201031102553_state_logs_indexes.php
backend/models/log/StateLogEntry.php
docker/Dockerfile
frontend/app/notifications/form/notification-form.html
frontend/app/scenes/form/scene-form.html
frontend/app/state-logs/state-logs-view.coffee
frontend/app/state-logs/state-logs-view.html
frontend/package-lock.json
frontend/package.json
package-lock.json
package.json
Please commit your changes or stash them before you merge.
Aborting
Z tego co pamiętam, dość często masz ten problem. Coś lokalnie modyfikuje Ci pliki źródłowe
Kod: Zaznacz cały
git checkout .
git reset --hard HEAD
git clean -fd
git pull
@fracz masz pomysl na to :
Kod: Zaznacz cały
pi@raspberrypi:~/supla-scripts $ git pull
Updating b160c5d..7786c9b
error: unable to unlink old 'var/config/crontab': Brak dostępu
pi@raspberrypi:~/supla-scripts $ sudo git pull
Updating b160c5d..7786c9b
error: Your local changes to the following files would be overwritten by merge:
.travis.yml
backend/app/commands/DispatchTimeScenesExecutionCommand.php
backend/app/commands/ExecuteIntervalScenesCommand.php
backend/controllers/ScenesController.php
backend/controllers/StateLogsController.php
backend/controllers/StateWebhookController.php
backend/controllers/TokensController.php
backend/index.php
backend/models/User.php
backend/models/log/StateLogEntry.php
backend/models/scene/Scene.php
backend/models/supla/ChannelFunction.php
backend/models/supla/SuplaApiCached.php
backend/models/supla/SuplaApiReal.php
docker/Dockerfile
frontend/app/app.coffee
frontend/app/common/channel-selector/channel-label.coffee
frontend/app/dashboard/channel/channel-available-actions.coffee
frontend/app/dashboard/channel/channel-brief.html
frontend/app/dashboard/dashboard.coffee
frontend/app/notifications/form/notification-form.html
frontend/app/scenes/details/scene-details-page.html
frontend/app/scenes/form/scene-form.coffee
frontend/app/scenes/form/scene-form.html
frontend/app/scenes/scenes-page.coffee
frontend/app/scenes/scenes-page.html
frontend/app/state-logs/state-logs-view.coffee
frontend/app/state-logs/state-logs-view.html
frontend/app/user/account-page.html
frontend/bower.json
frontend/package-lock.json
frontend/package.json
package-lock.json
package.json
Please commit your changes or stash them before you merge.
error: The following untracked working tree files would be overwritten by merge:
backend/controllers/SceneGroupsController.php
backend/database/migrations/20201031102553_state_logs_indexes.php
backend/database/migrations/20210816004103_scene_enabled.php
backend/database/migrations/20210816010414_scene_groups.php
backend/models/scene/SceneGroup.php
frontend/app/scenes/scene-groups.coffee
frontend/app/scenes/scenes-page.scss
public/img/badge.svg
Please move or remove them before you merge.
Aborting
pi@raspberrypi:~/supla-scripts $
■Rpi4(m.2) Supla Cloud, Scripts ■Rpi3(sd) SD: 6x MI ATC, 1x W.S.
ROLETY_V3 x12 ■SWITCH_DUAL x4 ■GATE_MODULE_V3 x1 ■SOCKET_SSR x1 ■SMOKE_MODULE x1
SONOFF_TOUCH x4 ■YUNSCHAN x1 ■STAITCASE_DIMMER x1 ■MEW-01 x2 ■mROW-02 x1 ■LEW-01 x1
POW_R2 x2 ■SP111 x3
ROLETY_V3 x12 ■SWITCH_DUAL x4 ■GATE_MODULE_V3 x1 ■SOCKET_SSR x1 ■SMOKE_MODULE x1
SONOFF_TOUCH x4 ■YUNSCHAN x1 ■STAITCASE_DIMMER x1 ■MEW-01 x2 ■mROW-02 x1 ■LEW-01 x1
POW_R2 x2 ■SP111 x3
@fracz po wykonaniukomend które podałeś wcześniej dostałem dokładnie coś takiego jak kolegawyżej.kris.sg pisze: ↑wt sie 24, 2021 10:17 am @fracz masz pomysl na to :
Kod: Zaznacz cały
pi@raspberrypi:~/supla-scripts $ git pull Updating b160c5d..7786c9b error: unable to unlink old 'var/config/crontab': Brak dostępu pi@raspberrypi:~/supla-scripts $ sudo git pull Updating b160c5d..7786c9b error: Your local changes to the following files would be overwritten by merge: .travis.yml backend/app/commands/DispatchTimeScenesExecutionCommand.php backend/app/commands/ExecuteIntervalScenesCommand.php backend/controllers/ScenesController.php backend/controllers/StateLogsController.php backend/controllers/StateWebhookController.php backend/controllers/TokensController.php backend/index.php backend/models/User.php backend/models/log/StateLogEntry.php backend/models/scene/Scene.php backend/models/supla/ChannelFunction.php backend/models/supla/SuplaApiCached.php backend/models/supla/SuplaApiReal.php docker/Dockerfile frontend/app/app.coffee frontend/app/common/channel-selector/channel-label.coffee frontend/app/dashboard/channel/channel-available-actions.coffee frontend/app/dashboard/channel/channel-brief.html frontend/app/dashboard/dashboard.coffee frontend/app/notifications/form/notification-form.html frontend/app/scenes/details/scene-details-page.html frontend/app/scenes/form/scene-form.coffee frontend/app/scenes/form/scene-form.html frontend/app/scenes/scenes-page.coffee frontend/app/scenes/scenes-page.html frontend/app/state-logs/state-logs-view.coffee frontend/app/state-logs/state-logs-view.html frontend/app/user/account-page.html frontend/bower.json frontend/package-lock.json frontend/package.json package-lock.json package.json Please commit your changes or stash them before you merge. error: The following untracked working tree files would be overwritten by merge: backend/controllers/SceneGroupsController.php backend/database/migrations/20201031102553_state_logs_indexes.php backend/database/migrations/20210816004103_scene_enabled.php backend/database/migrations/20210816010414_scene_groups.php backend/models/scene/SceneGroup.php frontend/app/scenes/scene-groups.coffee frontend/app/scenes/scenes-page.scss public/img/badge.svg Please move or remove them before you merge. Aborting pi@raspberrypi:~/supla-scripts $
Czy mieliście takie problemy przy wczceśniejszych aktualizacjach?
I jeszcze pytanie, bo pisaliście że webhooki nie działają na prywatnych instancjach skryptów, a moim zdaniem powinny. Pod warunkiem, że nie logujecie się tokenem dostępowym, tylko "normalnie", za pomocą waszej instancji clouda (tutaj opis jak takie logowanie skonfigurować: https://github.com/fracz/supla-scripts/ ... d-instance). I powinno wtedy działać.
I jeszcze pytanie, bo pisaliście że webhooki nie działają na prywatnych instancjach skryptów, a moim zdaniem powinny. Pod warunkiem, że nie logujecie się tokenem dostępowym, tylko "normalnie", za pomocą waszej instancji clouda (tutaj opis jak takie logowanie skonfigurować: https://github.com/fracz/supla-scripts/ ... d-instance). I powinno wtedy działać.
Nie działają na niestandardowym porcie.fracz pisze: ↑pt sie 27, 2021 9:32 am Czy mieliście takie problemy przy wczceśniejszych aktualizacjach?
I jeszcze pytanie, bo pisaliście że webhooki nie działają na prywatnych instancjach skryptów, a moim zdaniem powinny. Pod warunkiem, że nie logujecie się tokenem dostępowym, tylko "normalnie", za pomocą waszej instancji clouda (tutaj opis jak takie logowanie skonfigurować: https://github.com/fracz/supla-scripts/ ... d-instance). I powinno wtedy działać.
https://github.com/SUPLA/supla-core/issues/184
https://www.facebook.com/groups/supladiy/