SUPLA Scripts

User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

Pobierz zmiany

Code: Select all

git fetch
I zrób reset

Code: Select all

git reset --hard origin/master
SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
User avatar
PuteR
Posts: 1473
Joined: Wed Dec 06, 2017 10:07 am

Post

lesny8 wrote: Mon May 13, 2019 5:56 pm Pobierz zmiany

Code: Select all

git fetch
I zrób reset

Code: Select all

git reset --hard origin/master
Coś ruszyło ale daje jakiś błąd

Code: Select all

Connecting to 192.168.1.81 port 22, please wait...
login as: 
[email protected]'s password: 
Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon May 13 19:22:28 2019 from 192.168.1.65

pi@raspberrypi:~ $ git fetch
fatal: Not a git repository (or any of the parent directories): .git
pi@raspberrypi:~ $ cd supla-scripts
pi@raspberrypi:~/supla-scripts $ git fetch
pi@raspberrypi:~/supla-scripts $ git reset --hard origin/master
error: unable to unlink old 'var/config/config.sample.json': Brak dostępu
fatal: Could not reset index file to revision 'origin/master'.
pi@raspberrypi:~/supla-scripts $ sudo git reset --hard origin/master
HEAD is now at ccf39df Send metrics from thermostats immediately
pi@raspberrypi:~/supla-scripts $ git pull
Already up-to-date.
pi@raspberrypi:~/supla-scripts $ git reset --hard HEAD^
HEAD is now at 027be4e Measure SUPLA API calls
pi@raspberrypi:~/supla-scripts $ git pull
Updating 027be4e..ccf39df
Fast-forward
 backend/app/commands/DispatchThermostatCommand.php | 1 +
 1 file changed, 1 insertion(+)
pi@raspberrypi:~/supla-scripts $ docker/suplascripts.sh restart
Stopping SUPLA Scripts containers
SUPLA Scripts containers has been stopped.
  ___ _   _ ___ _      _
 / __| | | | _ \ |    /_\
 \__ \ |_| |  _/ |__ / _ \
 |___/\___/|_| |____/_/ \_\
 / __| __ _ _(_)_ __| |_ ___
 \__ \/ _| '_| | '_ \  _(_-
 |___/\__|_| |_| .__/\__/__/
               |_| by @fracz

Starting SUPLA Scripts containers
Pulling suplascripts-db (mysql:5.7)...

5.7: Pulling from library/mysql

ERROR: no matching manifest for unknown in the manifest list entries
pi@raspberrypi:~/supla-scripts $ docker/suplascripts.sh start
  ___ _   _ ___ _      _
 / __| | | | _ \ |    /_\
 \__ \ |_| |  _/ |__ / _ \
 |___/\___/|_| |____/_/ \_\
 / __| __ _ _(_)_ __| |_ ___
 \__ \/ _| '_| | '_ \  _(_-
 |___/\__|_| |_| .__/\__/__/
               |_| by @fracz

Starting SUPLA Scripts containers
Pulling suplascripts-db (mysql:5.7)...

5.7: Pulling from library/mysql

ERROR: no matching manifest for unknown in the manifest list entries
pi@raspberrypi:~/supla-scripts $  
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

Pokaż co daje

Code: Select all

git status
git branch
SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
User avatar
PuteR
Posts: 1473
Joined: Wed Dec 06, 2017 10:07 am

Post

lesny8 wrote: Mon May 13, 2019 6:10 pm Pokaż co daje

Code: Select all

git status
git branch

Code: Select all

pi@raspberrypi:~ $ cd supla-scripts
pi@raspberrypi:~/supla-scripts $ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
pi@raspberrypi:~/supla-scripts $ git branch
* master
pi@raspberrypi:~/supla-scripts $
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

Wygląda dobrze, startuj skrypty...
SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
User avatar
PuteR
Posts: 1473
Joined: Wed Dec 06, 2017 10:07 am

Post

lesny8 wrote: Mon May 13, 2019 6:38 pm Wygląda dobrze, startuj skrypty...
Niestety...

Code: Select all

pi@raspberrypi:~ $ supla-scripts/docker/suplascripts.sh start
  ___ _   _ ___ _      _
 / __| | | | _ \ |    /_\
 \__ \ |_| |  _/ |__ / _ \
 |___/\___/|_| |____/_/ \_\
 / __| __ _ _(_)_ __| |_ ___
 \__ \/ _| '_| | '_ \  _(_-<
 |___/\__|_| |_| .__/\__/__/
               |_| by @fracz

Starting SUPLA Scripts containers
Pulling suplascripts-db (mysql:5.7)...

5.7: Pulling from library/mysql

ERROR: no matching manifest for unknown in the manifest list entries
pi@raspberrypi:~ $  
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

Problem został rozwiązany.
Błąd manifestu występował z powodu podwójnego wpisu w .env

Code: Select all

COMPOSE_FILE=docker-compose.base.yml:docker-compose.proxy.yml:docker-compose.arm32v7.yml
COMPOSE_FILE=docker-compose.base.yml:docker-compose.proxy.yml:docker-compose.local.yml
Prawidłowa postać wpisu dla konfiguracji tej instancji to

Code: Select all

COMPOSE_FILE=docker-compose.base.yml:docker-compose.proxy.yml:docker-compose.arm32v7.yml:docker-compose.local.yml
SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
sdsi
Posts: 135
Joined: Tue Nov 14, 2017 10:20 am

Post

Dobry wieczór,

Zakładka Logi straciła logi - strona jest pusta. Kiedyś było. Proszę o sprawdzenie.

Dziękuję i pozdrawiam,
Gucio2607.
Posts: 508
Joined: Tue Aug 22, 2017 1:56 pm

Post

Wie ktoś może co oznacza ten błąd przy wywoływaniu linku do sceny publicznej?
You do not have the required permissions to view the files attached to this post.
Zainstalowane:
11x sonoff basic, 1x sonoff gate, 1x Yunshan, 2x H801, 7x sonoff touch(1,2,3 gang), 1x sonoff 4ch PRO
User avatar
akszyn
Posts: 203
Joined: Wed May 22, 2019 2:40 pm
Location: Szczecin

Post

konto supla mam od niedawna oraz nie mam własnej instancji a gdy daje zaloguj przez cloud supla i autoryzuj i takie coś mi wyskakuje (chrome win 10) svr24
You do not have the required permissions to view the files attached to this post.
Supla na pokładzie wemosa D1 mini z relay shield (gate Zybiego)z DS18B20 + sonoff basic (domyślny soft) + broadlink RM mini 3 + Philips hue white z bridge v1 + LoraTap (RF 433) z kinetycznym przełącznikiem + ai-speaker Dev1 i Dev3

Return to “SUPLA Scripts”