Giter Site home page Giter Site logo

Comments (7)

mitya12342 avatar mitya12342 commented on June 12, 2024 5

Got it to start (hopefully correctly) retaining all the stuff with following snippet after reading through installation script.
The API_PORT and SB_API_PREFIX vars are different for everyone and need to be replaced from /opt/outline/access.txt line looking like apiUrl:https://serverIP:1234/qweabc
Should work for server originally installed with default settings without any arguments.

SB_IMAGE=quay.io/outline/shadowbox:stable
CONTAINER_NAME=shadowbox
STATE_DIR=/opt/outline/persisted-state
SB_CERTIFICATE_FILE=${STATE_DIR}/shadowbox-selfsigned.crt
SB_PRIVATE_KEY_FILE=${STATE_DIR}/shadowbox-selfsigned.key
API_PORT=1234
SB_API_PREFIX=qweabc

sudo docker run -d \
--name "${CONTAINER_NAME}" --restart always --net host \
--label 'com.centurylinklabs.watchtower.enable=true' \
--log-driver local \
-v "${STATE_DIR}:${STATE_DIR}" \
-e "SB_STATE_DIR=${STATE_DIR}" \
-e "SB_API_PORT=${API_PORT}" \
-e "SB_API_PREFIX=${SB_API_PREFIX}" \
-e "SB_CERTIFICATE_FILE=${SB_CERTIFICATE_FILE}" \
-e "SB_PRIVATE_KEY_FILE=${SB_PRIVATE_KEY_FILE}" \
-e "SB_METRICS_URL=${SB_METRICS_URL:-}" \
"${SB_IMAGE}"

Leaving issue open because it seems not to be unique to me

from outline-server.

fortuna avatar fortuna commented on June 12, 2024 2

By the way, the latest manual install script creates a script at /root/shadowbox/persisted-state/start_container.sh that lets you easily recreate the container if you need to. This will be in the next Manager release.

Code at

from outline-server.

mitya12342 avatar mitya12342 commented on June 12, 2024 1

I have the same problem. Is this solved only by reinstalling?

You can run my commands (replace values with yours), it will keep all the configuration or go ahead and reinstall
Not sure if it is solved and wont occur on next update so lets wait for maintainers comments on this

from outline-server.

mitya12342 avatar mitya12342 commented on June 12, 2024 1

Alright then, I had exactly 25.0.0

from outline-server.

andyi95 avatar andyi95 commented on June 12, 2024

Had the same issue yesterday:

time="2024-02-05T17:28:12Z" level=error msg="Error response from daemon: invalid config for network host: invalid endpoint settings:\nnetwork-scoped alias is supported only for containers in user defined networks"

Had to re-install server instance via running sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)". After opening new ports and adding as a new instance in Outline Manager, all the previous client keys and configurations loaded, old client configs are operational.
Would be great to find out the actual config location or/and get possibility to manage Outline server via docker-compose though.

from outline-server.

amatus- avatar amatus- commented on June 12, 2024

I have the same problem. Is this solved only by reinstalling?

from outline-server.

fortuna avatar fortuna commented on June 12, 2024

I’m sorry for the inconvenience. It seems to be a bug on docker-ce 25.0.0: docker/for-linux#1481.

They have fixed the issue and released 25.0.1. Please make sure you’re running the newest version of Docker.

If you really need, it’s possible to disable auto update by stopping the Watchtower container, but I don’t recommend that.

from outline-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.