Giter Club home page Giter Club logo

Comments (4)

seia-soto avatar seia-soto commented on May 23, 2024 1

Possible troubleshootings

For someone visited this page due to the error above, please try one of followings manually:

Adding sudo or running as root

# master release, updated daily (might fail sometime)
export SB_IMAGE="ghcr.io/seia-soto/shadowbox:master"

# stable release, NOT MORE UPDATED (It is for outline-server v1.9 or lower, use `latest` instead)
export SB_IMAGE="ghcr.io/seia-soto/shadowbox:release"

# latest release, updated irregularly
export SB_IMAGE="ghcr.io/seia-soto/shadowbox:latest"

curl -sL "https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh" | sed '/local MACHINE_TYPE/,/fi/{d}' | sudo --preserve-env bash

Manually populating the environment variables

This answer is based on @SmartBoy84 's solution and will create a file called script.sh in the same directory of shell's working directory.

curl -sL "https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh" | sed '/local MACHINE_TYPE/,/fi/{d}' > ./install_server.sh

SB_IMAGE=ghcr.io/seia-soto/shadowbox:latest sudo --preserve-env bash -c ./install_server.sh

from outline-server-multiarch.

seia-soto avatar seia-soto commented on May 23, 2024

I don't have enough resource to test the full deployment yet due to some high load task now but export seems working as expected.

There's nothing useful as I can see now, but I expect that it can be related to environmental specific problem such as shell you're using or pre-existing image in same name.

I'll test further when I can allocate some computational resource here.

Last login: Thu Jun  1 08:25:56 on ttys004

~
% export TEST_AA=1                                                 

~
% echo 'echo $TEST_AA' | bash
1

from outline-server-multiarch.

SmartBoy84 avatar SmartBoy84 commented on May 23, 2024

It seems env can be separately set but bash needs to be run with --preserve-env flag on the pi
So maybe just change | bash to | sudo --preserve-env bash in the README?

from outline-server-multiarch.

seia-soto avatar seia-soto commented on May 23, 2024

Thanks @SmartBoy84 for pointing out, I updated the comment.

from outline-server-multiarch.

Related Issues (7)

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.