Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTP no reaction #311

Open
groetg opened this issue Jan 1, 2025 · 2 comments
Open

SMTP no reaction #311

groetg opened this issue Jan 1, 2025 · 2 comments

Comments

@groetg
Copy link

groetg commented Jan 1, 2025

Hello,

I have got Solidtime on Unraid working on Docker, but cant register any accounts, I tried several SMTP accounts, where can I find the activation link in what kind of log file?

I want to use the log mailer. I have MAIL_MAILER="log" in mij .env file. But in which log file or in wich docker should I see the verification link I should expect?

@groetg
Copy link
Author

groetg commented Jan 1, 2025

I found the link at last, but when I folow the link I get an 403 Invalid signature. Error.

@groetg
Copy link
Author

groetg commented Jan 2, 2025

Health-check:

{"ip_address":"89.205.139.138","url":"https://solidtime.groet-infra.nl/health-check/debug","path":"health-check/debug","hostname":"solidtime.groet-infra.nl","timestamp":1735812236,"date_time_utc":"2025-01-02 10:03:56","date_time_app":"2025-01-02 10:03:56","timezone":"Etc/UTC","secure":true,"is_trusted_proxy":true,"app_debug":true,"app_url":"https://solidtime.groet-infra.nl","app_env":"production","app_timezone":"UTC","app_force_https":true,"trusted_proxies":["0.0.0.0/0","2000:0:0:0:0:0:0:0/3"],"headers":{"host":["solidtime.groet-infra.nl"],"sec-fetch-dest":["document"],"sec-fetch-mode":["navigate"],"sec-gpc":["1"],"accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8"],"accept-language":["nl-NL,nl;q=0.6"],"cf-connecting-ip":["89.205.139.138"],"cf-ipcountry":["NL"],"sec-ch-ua-mobile":["?0"],"upgrade-insecure-requests":["1"],"cf-visitor":["{"scheme":"https"}"],"x-forwarded-for":["89.205.139.138"],"priority":["u=0, i"],"sec-fetch-user":["?1"],"accept-encoding":["gzip, br"],"cdn-loop":["cloudflare; loops=1"],"cf-ray":["8fb9ec0c5f6c6637-AMS"],"connection":["keep-alive"],"cookie":"***","sec-fetch-site":["none"],"x-forwarded-proto":["https"],"user-agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"],"cf-warp-tag-id":["503ad2d1-1e7a-4aed-9ce7-836e4487d202"],"sec-ch-ua":[""Brave";v="131", "Chromium";v="131", "Not_A Brand";v="24""],"sec-ch-ua-platform":[""Windows""]}}

Docker yml
`services:
app:
restart: always
image: "solidtime/solidtime:${SOLIDTIME_IMAGE_TAG:-latest}"
user: "1000:1000"
ports:
- '${FORWARD_APP_PORT:-8000}:8000'
networks:
- internal
volumes:
- "app-storage:/mnt/user/appdata/solidtime/storage"
- "./logs:/mnt/user/appdata/solidtimestorage/logs"
- "./app-storage:/mnt/user/appdata/solidtime/storage/app"
environment:
CONTAINER_MODE: http
AUTO_DB_MIGRATE: "true"
healthcheck:
test: [ "CMD-SHELL", "curl --fail http://localhost:8000/health-check/up || exit 1" ]
env_file:
- .env
depends_on:
- database
scheduler:
restart: always
image: "solidtime/solidtime:${SOLIDTIME_IMAGE_TAG:-latest}"
user: "1000:1000"
networks:
- internal
volumes:
- "app-storage:/mnt/user/appdata/solidtime/storage"
- "./logs:/mnt/user/appdata/solidtimestorage/logs"
- "./app-storage:/mnt/user/appdata/solidtime/storage/app"
environment:
CONTAINER_MODE: scheduler
healthcheck:
test: [ "CMD-SHELL", "supervisorctl status scheduler:scheduler_00" ]
env_file:
- .env
depends_on:
- database
queue:
restart: always
image: "solidtime/solidtime:${SOLIDTIME_IMAGE_TAG:-latest}"
user: "1000:1000"
networks:
- internal
volumes:
- "app-storage:/mnt/user/appdata/solidtime/storage"
- "./logs:/mnt/user/appdata/solidtimestorage/logs"
- "./app-storage:/mnt/user/appdata/solidtime/storage/app"
environment:
CONTAINER_MODE: worker
WORKER_COMMAND: "php /var/www/html/artisan queue:work"
healthcheck:
test: [ "CMD-SHELL", "supervisorctl status worker:worker_00" ]
env_file:
- .env
depends_on:
- database
database:
restart: always
image: 'postgres:15'

ports:

- '${FORWARD_DB_PORT:-5432}:5432'

environment:
  PGPASSWORD: '${DB_PASSWORD:-secret}'
  POSTGRES_DB: '${DB_DATABASE}'
  POSTGRES_USER: '${DB_USERNAME}'
  POSTGRES_PASSWORD: '${DB_PASSWORD:-secret}'
volumes:
  - 'database-storage:/var/lib/postgresql/data'
networks:
  - internal
healthcheck:
  test:
    - CMD
    - pg_isready
    - '-q'
    - '-d'
    - '${DB_DATABASE}'
    - '-U'
    - '${DB_USERNAME}'
  retries: 3
  timeout: 5s

networks:
internal:
volumes:
database-storage:
app-storage:`

.ENV file:
APP_NAME="solidtime"
VITE_APP_NAME="solidtime"
APP_ENV="production"
APP_DOMAIN=groet-infra.nl
APP_DEBUG="debug"
APP_URL="https://solidtime.groet-infra.nl"
APP_FORCE_HTTPS="true"
TRUSTED_PROXIES="0.0.0.0/0,2000:0:0:0:0:0:0:0/3"

Authentication

APP_KEY="base64:ttsOnaxzC5BNLOLIMOjLTu/heMXtC3hPgwibY9bGwek="
PASSPORT_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQCzaJrTAGC32u4V\n2kfHfAujW0OMzvx13aAnZGwJRSJ5/KCtaAzvsTyyRNvBYkIsC4ahfp/M/ME0KuAr\nv/ZtSCOWRixzd4xSrGYeLaLswI+YCEDz/frsqz61FAj14/9JwXeMElxMEVF6syDR\nzcB4ZRBsHznh8QMsqvU9qZqLGMVzvpgIwl7rBExbNUrEHbHPO1vq69uWeygDZcoy\nt/5emkGjrZR2XMhXg+TxVQegVFAwSy1msQb2DckyuoDZCMa/MeZBpQ9ILVXDKi2r\nPy3nb2V6MakmAoGcrSsTfqfz/W85XA8jJDQR0M6oUUOumM06icVXyX6YGgwwxUZf\n8jXOyK5AdAkAymYXQlEPyDlqsy78DubLMLBeRoL9fpjyDG47BfDMVwXl/rz+M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jNOonFV8l+mBoMMMVGX/I1zsiu\nQHQJAMpmF0JRD8g5arMu/A7myzCwXkaC/X6Y8gxuOwXwzFcF5f68/jLu/TsfZmoH\nQ+MDsLj0+VDUbx5pHNd8HHA2sDnqIynKGyY1EFxXRWjRU9S4H8PvaXHXBoiJUHUK\nwpROxx6fOQlKhfVZ+T8hICUEQzbq0yACJfCnGpDN8sNNllbmhyNqXgrqs6TRDiAr\nnA5EFG/pkOcqntQ9VfTZwc/HX3ezQmymnT4NMCrBy7Pe4jSvbZEP2TI0ib9MKvPD\n0da+PJJxBrW23IAmW85q9SvD7tYo/ZZ/RJFCZQIUPXWr9H59PV2tSU/ovq0EYMNs\nN0lze0rqj70euqkiONXOA5sCAwEAAQ==\n-----END PUBLIC KEY-----"
SUPER_ADMINS="[email protected]"

Logging

LOG_CHANNEL="stderr_daily"
LOG_LEVEL="debug"

Database

DB_CONNECTION="pgsql"
DB_HOST="database"
DB_PORT="5432"
DB_SSLMODE="require"
DB_DATABASE="solidtime"
DB_USERNAME="solidtime"
DB_PASSWORD="PASSWORD"

Mail

MAIL_MAILER="log"
MAIL_HOST="mail.ecloud.global "
MAIL_PORT="587"
MAIL_ENCRYPTION="tls"
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="solidtime"
MAIL_USERNAME="USER"
MAIL_PASSWORD="PASSWORD"

Queue

QUEUE_CONNECTION="database"

File storage

FILESYSTEM_DISK="local"
PUBLIC_FILESYSTEM_DISK="public"

I have no reverse proxy and use a Cloudflare Tunnel to acces https...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant