Comments (20)
Thanks for the feedback, and sorry for your trouble.
When you run docker ps
, does it show a shadowbox
container? That's the core of the service.
You can get the JSON needed to set up the Server Manager with
cat /root/shadowbox/persisted-state/shadowbox_server_config.json
(Don't share the output of that with anyone)
If you'd like to try again, the server installation on EC2 was tested using the image ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180126 - ami-66506c1c
(from Community AMIs)
What we did to get it working was:
-
Under "Configure Security Group", added a "Custom TCP Rule" and a "Custom UDP Rule". Set the Port Range for both to
1024-65535
, and Source to0.0.0.0/0
-
Install Docker
- SSH in as user "unbuntu"
curl -sS https://get.docker.com/ | sh
sudo usermod -aG docker $USER
-
Reboot machine, then SSH again and run:
wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash
Ignore the error:
ERROR: You need to be root to run this script
You have ufw enabled on your machine, please check your configuration to ensure access to high numbered ports.
Because "ufw status" requires "sudo", we accidentally think that ufw is enabled when it is not by default
Could you try that and let us know if it still doesn't work?
from outline-server.
Shadowbox is running, but I don't have the JSON file.
from outline-server.
I tried again. It works without any problem if I choose your type of machine and follow your instruction.
Thank you, fortuna.
from outline-server.
@fortuna
Good day!
As I understood, outline will automatically add allowed ports to ufw?
Now I need to add them manually.
from outline-server.
Tried Outline installation on ubuntu 16.04 Azure cloud.
The installation script halts at Starting Watchtower ......................... OK.
FYI, I've disabled ufw..
What could be the reason?
from outline-server.
@hybtoy : Unfortunately manually installed Outline servers do not open the ports automatically, but that's something we'd like to do (or create a shadowsocks reverse proxy that allows everyone to use a single port). It's a hard problem because each platform has its own way of controlling traffic, sometimes in cloud platforms it's even completely outside the server.
As a workaround you can write a script that find the port numbers with cat /root/shadowbox/persisted-state/shadowbox_config.json
and opens the port according to the platform you use.
from outline-server.
Azure Cloud update - Solved.
An issue with Inbound - Outbound rules. Once we set it properly for ports 1024-65535 it works properly
from outline-server.
I'm having a similar issue, likely from not having UFW even installed on my server. The install hangs after starting the watchtower container. However, I SIGINT the install process and docker ps
shows that shadowbox is running. But, this is what I get when I try to pull the config information from the container:
docker exec -it shadowbox cat /root/shadowbox/persisted-state/shadowbox_server_config.json cat: can't open '/root/shadowbox/persisted-state/shadowbox_server_config.json': No such file or directory
EDIT: It should be known that I am running Ubuntu Server 14.04.5 on a Scaleway VPS in Amsterdam.
from outline-server.
I am having the same problem as DonaldKBrown on Ubuntu 17.10 on a HyperV VM. It hangs when starting the watchtower container, shadowbox is running but I cannot get the json configuration.
PS: I got it to work by opening ports 40000-50000 on my Google Wifi (I am running it at home). The install script then finishes. It works really well on Android phone. Trying Chromebook next.
PS2: Creating and sharing keys for others doesn't work for me - the clients cannot connect. Not a big thing since I mainly want to use it myself and my family.
from outline-server.
Alright, I feel silly. I had inadvertently reinstalled ufw
. Removing that again fixed my issue. If anyone else has an issue running the installer again after exiting it, you have to stop and remove the previous Docker containers. Run the following commands to do so (ONLY IF YOU HAVE NO OTHER DOCKER CONTAINERS)
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
from outline-server.
@arunkumar339 Could you elaborate on how you solved the problem seeing that ufw was disabled when your first encountered the issue. I am having the same problem although I am running Ubuntu on my own machine.
from outline-server.
from outline-server.
from outline-server.
from outline-server.
from outline-server.
@zl1775 Sorry you've been having problems connecting to your server. Yes, we do recommend opening all ports above 1024. Were you able to resolve this?
from outline-server.
@markusmobius Happy to hear you got connected. Regarding the new access keys you created, they were probably outside the range of 40000-50000. Yes, we currently recommend opening all ports above 1024.
from outline-server.
@DonaldKBrown Happy to hear you got connected. We are considering a check for the installation script for whether either Docker container already exists.
from outline-server.
@arunkumar339 Happy to hear you got connected!
from outline-server.
Seems like most people here got connected, so I'm going to close this. Please open a new issue for any further manual installation woes!
from outline-server.
Related Issues (20)
- Method not allowed using the API to get a key by id HOT 2
- Outline Manager 1.15.1-universal can't be opened on macOS because of a notarization problem HOT 1
- return warning message when a key is generated with the same password HOT 2
- How can i setup an outline vpn server on a Mac ? HOT 1
- One key one session HOT 1
- Puth method in /access-keys needs to use {id} in the path HOT 1
- Shadowbox container disappeared after auto update HOT 7
- Allow server operators to disable auto-update HOT 3
- expose production build setting to the shadowbox build action
- Add disable / enable Auto update option HOT 1
- Support default only IPv6 HOT 1
- the traffic limit isn't respected when set to zero before the first connection HOT 4
- Outline gets detected in Iran HOT 7
- An error occurs when creating an API request HOT 1
- Traffic counting does not work. HOT 1
- Route53 AWS and firewall network setting in lightsail AWS isn't work HOT 1
- InvalidServerCredentials HOT 2
- run outline on mikrotik container HOT 1
- فیلتر شکن HOT 1
- support deploying outline server on northflank.com 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.