Błąd aktualizacji do v26.05

Moderator: fracz

qba01
Posts: 14
Joined: Sun Jan 18, 2026 7:46 pm
Has thanked: 2 times

Post

Witam,
po próbie aktualizacji do najnowszej wersji napotykam problem dotyczący jakiś przestarzałych (?) paczek i error związany z gmailem.
Supla-cloud nie wstaje i sieje błędy takie jak poniżej:

Code: Select all

[WARN] You are using deprecated MAILER_FROM environment variable. Please use SUPLA_MAILER_FROM instead.
[WARN] You are using deprecated ADMIN_EMAIL environment variable. Please use SUPLA_ADMIN_EMAIL instead.
[WARN] You are using deprecated REQUIRE_REGULATIONS_ACCEPTANCE environment variable. Please use SUPLA_REQUIRE_REGULATIONS_ACCEPTANCE instead.
[WARN] You are using deprecated REQUIRE_COOKIE_POLICY_ACCEPTANCE environment variable. Please use SUPLA_REQUIRE_COOKIE_POLICY_ACCEPTANCE instead.
[WARN] You are using deprecated BRUTE_FORCE_AUTH_PREVENTION_ENABLED environment variable. Please use SUPLA_BRUTE_FORCE_AUTH_PREVENTION_ENABLED instead.
[WARN] You are using deprecated ACCOUNTS_REGISTRATION_ENABLED environment variable. Please use SUPLA_ACCOUNTS_REGISTRATION_ENABLED instead.
[WARN] You are using deprecated MQTT_BROKER_ENABLED environment variable. Please use SUPLA_MQTT_BROKER_ENABLED instead.
[WARN] You are using deprecated MQTT_BROKER_PORT environment variable. Please use SUPLA_MQTT_BROKER_PORT instead.
[WARN] You are using deprecated MQTT_BROKER_TLS environment variable. Please use SUPLA_MQTT_BROKER_TLS instead.
PHP Deprecated:  FOS\OAuthServerBundle\Storage\OAuthStorage::__construct(): Implicitly marking parameter $userProvider as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/klapaudius/oauth-server-bundle/Storage/OAuthStorage.php on line 57
PHP Deprecated:  FOS\OAuthServerBundle\Storage\OAuthStorage::__construct(): Implicitly marking parameter $passwordHasherFactory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/klapaudius/oauth-server-bundle/Storage/OAuthStorage.php on line 57
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::__construct(): Implicitly marking parameter $twig as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php on line 39
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $language as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $trustResolver as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $roleHierarchy as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $tokenStorage as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php on line 33
PHP Deprecated:  FOS\OAuthServerBundle\Security\EntryPoint\OAuthEntryPoint::start(): Implicitly marking parameter $authException as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/klapaudius/oauth-server-bundle/Security/EntryPoint/OAuthEntryPoint.php on line 32
PHP Deprecated:  FOS\OAuthServerBundle\Form\Handler\AuthorizeFormHandler::setContainer(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/klapaudius/oauth-server-bundle/Form/Handler/AuthorizeFormHandler.php on line 60
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $registry as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46
PHP Deprecated:  Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $expressionLanguage as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cloud/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

[...]

In Transport.php line 176:
                                                                               
  Unable to send emails via "gmail" as the bridge is not installed; try runni  
  ng "composer require symfony/google-mailer".                                 
                                                                               

Database connection has been established.

 [OK] Metadata storage synchronized                                             


 [OK] Already at the latest version                                             
      ("SuplaBundle\Migrations\Migration\Version20260330150252")                


 [OK] The "async" transport was set up successfully.                            


In Transport.php line 176:
                                                                               
  Unable to send emails via "gmail" as the bridge is not installed; try runni  
  ng "composer require symfony/google-mailer".                                 
Wiem, że używam starych zmiennych ale nawet po zmianie nie działa.
Mój docker-compose.yml

Code: Select all

services:
  supla-cloud:
    container_name: ${COMPOSE_PROJECT_NAME}-cloud
    restart: unless-stopped
    image: supla/supla-cloud:${SUPLA_CLOUD_VERSION:-latest}
    env_file:
      - .env
    volumes:
      - ./ssl/cloud:/etc/apache2/ssl
      - ${VOLUME_DATA}/cloud-local:/var/www/cloud/var/local
      - ${VOLUME_DATA}/cloud-logs:/var/www/cloud/var/logs
      - supla-server-socket:/supla-server
    logging:
      driver: "json-file"
      options:
        max-size: 50m
    depends_on:
      - supla-db
    ports:
      - "${PORT_HTTP}:80"
      - "${PORT_HTTPS}:443"


  supla-db:
    container_name: ${COMPOSE_PROJECT_NAME}-db
    restart: unless-stopped
    image: ${DB_IMAGE}
    env_file:
      - .env
    environment:
      MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
      MYSQL_DATABASE: supla
      MYSQL_USER: supla
      MYSQL_PASSWORD: ${DB_PASSWORD}
    volumes:
      - ${VOLUME_DATA}/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-size: 50m
    ports:
      - "3306:3306"

  supla-server:
    container_name: ${COMPOSE_PROJECT_NAME}-server
    restart: unless-stopped
    image: supla/supla-server:${SUPLA_SERVER_VERSION:-latest}
    env_file:
      - .env
    volumes:
      - ./ssl/server:/etc/supla-server/ssl
      - supla-server-socket:/var/run/supla
    ports:
      - "2016:2016"
      - "2015:2015"
    logging:
      driver: "json-file"
      options:
        max-size: 50m
    depends_on:
      - supla-cloud

volumes:
  supla-server-socket: {}
.env

Code: Select all

CLOUD_DOMAIN=192.168.1.205:443
RECAPTCHA_ENABLED=false
RECAPTCHA_PUBLIC_KEY=
RECAPTCHA_PRIVATE_KEY=
MAILER_DSN=gmail://xxx%40gmail.com:xxx@localhost
[email protected]
[email protected]
VOLUME_DATA=./var
PORT_HTTP=80
PORT_HTTPS=443
REQUIRE_REGULATIONS_ACCEPTANCE=false
REQUIRE_COOKIE_POLICY_ACCEPTANCE=false
BRUTE_FORCE_AUTH_PREVENTION_ENABLED=true
ACCOUNTS_REGISTRATION_ENABLED=false
MQTT_BROKER_ENABLED=false
MQTT_BROKER_HOST=
MQTT_BROKER_PORT=8883
MQTT_BROKER_TLS=true
MQTT_BROKER_USERNAME=
MQTT_BROKER_PASSWORD=
MQTT_BROKER_CLIENT_ID=
DB_PASSWORD=xxx
SECRET=xxx
SUPLA_CLOUD_VERSION=latest
SUPLA_SERVER_VERSION=latest
DB_IMAGE=mariadb:11.7.2
DOCKER_NETWORK_NAME=webproxy
COMPOSE_PROJECT_NAME=supla
COMPOSE_PATH_SEPARATOR=:
COMPOSE_FILE=docker-compose.yml
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

qba01 wrote: Tue Jun 02, 2026 12:56 pm
Czytałeś: https://github.com/SUPLA/supla-docker/r ... tag/v26.05 ?

Co prawda to nie dotyczy błędów w logach, ale większości warningów.
Najlepsze suple dla Twojego domu :mrgreen:
qba01
Posts: 14
Joined: Sun Jan 18, 2026 7:46 pm
Has thanked: 2 times

Post

Tak, czytałem i wymagane zmienne podmieniłem.
qba01
Posts: 14
Joined: Sun Jan 18, 2026 7:46 pm
Has thanked: 2 times

Post

Ktoś wie jak rozwiązać ten problem?
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Wydaje mi się że wiem o co chodzi. Do wieczora podeślę rozwiązanie, bo muszę je najpierw zweryfikować.
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Skonfiguruj póki co dostęp do gmaila jako

Code: Select all

MAILER_DSN=smtp://user:[email protected]:587
Prefix gmail:// (który jest w dokumentacji - wiem) wymaga od nowej wersji doinstalowania zależności, którą pominąłem. Zacznie to działać przy kolejnym wydaniu, ale spokojnie możesz zostać przy konfiguracji opartej o SMTP.

Jeśli chodzi o warningi dotyczące nazw zmiennych - znikną jeśli je zmigrujesz.

PHP deprecations - póki co do zignorowania.
qba01
Posts: 14
Joined: Sun Jan 18, 2026 7:46 pm
Has thanked: 2 times

Post

Ok, narazie zostane przy poprzedniej wersji.
Jak już będzie wszystko dopracowane to zaaktualizuje.
Dziękuję za pomoc i zajęcie się tematem.
User avatar
klimasstudio
Posts: 1273
Joined: Wed Aug 28, 2019 9:35 pm
Location: localhost

Post

Czyl;i widze cały STACK który zrobiłem dawno temu do wklejenia w portainerze jak i enviroments mam do poprawki.

EDIT: Widze że mimo tego są problemy z startem kontenera ;/
Więc chodź OSUPLUJE Ci dom :mrgreen:

Druk 3D - > https://klimastech.eu.org/druk-3d
qba01
Posts: 14
Joined: Sun Jan 18, 2026 7:46 pm
Has thanked: 2 times

Post

Ja zmigrowałem swoją instancje na czystego debiana z dockerem, ze względu na podobne problemy do twoich. Portainer nie daje dużo większej wygody według mnie.
User avatar
klimasstudio
Posts: 1273
Joined: Wed Aug 28, 2019 9:35 pm
Location: localhost

Post

Póki co chce wrócic do wersji v25.12 i wpisując supla/supla-docker:v25.12 mam error manifest not found version
Więc chodź OSUPLUJE Ci dom :mrgreen:

Druk 3D - > https://klimastech.eu.org/druk-3d

Return to “supla-docker”