Skip to content

Failure to start #132

Description

@IonCharger

Every time I start the yunohost server Writefreely doesn't start.
However when I start it manually after a few minutes it starts, and works, just fine.

Writefreely: 0.16.0~ynh1
Yunohost: 12.1.23

The log is as follows

The repeating motif is like:

Sep 15 12:20:11 systemd[1]: Stopped writefreely.service - WriteFreely: minimalist federated blog.
Sep 15 12:20:11 systemd[1]: Started writefreely.service - WriteFreely: minimalist federated blog.
Sep 15 12:20:12 writefreely[1142]: 2025/09/15 12:20:12 Starting WriteFreely 0.16.0...
Sep 15 12:20:12 writefreely[1142]: 2025/09/15 12:20:12 Loading config.ini configuration...
Sep 15 12:20:12 writefreely[1142]: 2025/09/15 12:20:12 Loading templates...
Sep 15 12:20:12 systemd[1]: writefreely.service: Main process exited, code=exited, status=1/FAILURE
Sep 15 12:20:13 writefreely[1142]: 2025/09/15 12:20:12 Loading pages...
Sep 15 12:20:13 writefreely[1142]: 2025/09/15 12:20:12 Loading user pages...
Sep 15 12:20:13 writefreely[1142]: 2025/09/15 12:20:12 Loading encryption keys...
Sep 15 12:20:13 writefreely[1142]: 2025/09/15 12:20:12 Connecting to mysql database...
Sep 15 12:20:13 writefreely[1142]: ERROR: 2025/09/15 12:20:12 main.go:120: connect to DB: Database ping failed: dial tcp [::1]:3306: connect: connection refused
Sep 15 12:20:12 systemd[1]: writefreely.service: Failed with result 'exit-code'.
Sep 15 12:20:12 systemd[1]: writefreely.service: Scheduled restart job, restart counter is at 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions