Comments (4)
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.
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.
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.
Thanks @SmartBoy84 for pointing out, I updated the comment.
from outline-server-multiarch.
Related Issues (7)
- Support HOT 1
- [Refactor] Use tags instead of releases for latest images HOT 1
- [Proposal] Support conditional matrix on GitHub Actions HOT 1
- [Proposal] Post-testing after build
- #0 19.38 WARNING in /node_modules/dtrace-provider/dtrace-provider.js #0 19.38 Module not found: Error: Can't resolve './src/build' in '/node_modules/dtrace-provider' HOT 1
- npm ERR! Missing script: "do" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from outline-server-multiarch.