Skip to content

Document moving an existing site into GOBLOG_DATA_DIR #670

Description

@compscidr

Problem

#661 added GOBLOG_DATA_DIR for new installs. A site set up before it, with per-path bind mounts or files inside the container, has no documented way to adopt it.

What is needed

A short section in the README or UPGRADING.md: stop goblog, copy .env, the SQLite file, www/uploads, plugins/wasm, plugins/dynamic and themes/installed into the layout under the data directory (table in #661), set the variable, start. Note that an absolute sqlite_db path in .env is used as given, and that /wp-content/uploads still reads only from www.

A goblog migrate-data-dir command that does the copy would be better still.

Follow-up to #653 / #661.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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