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". 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: {}
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
