question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connecting to existing Outline server

See original GitHub issue

I have an existing Outline server, and I want to add it to the Outline Manager on a different machine. I do not have the initial API information. Where do I get that information from, on the server running Outline? I have tried:

docker exec -it CONTAINERID cat ~/shadowbox/access.txt

But that renders:

cat: can't open '/root/shadowbox/access.txt': No such file or directory

Contents of /opt/outine/persisted-state are:

root@shadow:/home/david# docker exec -it CONTAINERID ls -lasFh /opt/outline/persisted-state/
total 32
     4 drwxrws---    4 root     root        4.0K Jan 18 15:50 ./
     4 drwxr-xr-x    3 root     root        4.0K Jan 17 22:29 ../
     4 drwxrws---    2 root     root        4.0K Jan 17 14:28 outline-ss-server/
     4 drwxrws---    3 root     root        4.0K Jan 17 14:28 prometheus/
     4 -rw-rw----    1 root     root        1.1K Jan 17 14:27 shadowbox-selfsigned.crt
     4 -rw-------    1 root     root        1.7K Jan 17 14:27 shadowbox-selfsigned.key
     4 -rw-rw----    1 root     root         659 Jan 18 15:50 shadowbox_config.json
     4 -rw-rw----    1 root     root         160 Jan 17 22:29 shadowbox_server_config.json

Contents of ~/shadowbox/ are:

root@shadow:/home/david# docker exec -it CONTAINERID ls -lasFh ~/shadowbox
total 48
     4 drwxr-xr-x    1 root     root        4.0K Jan 17 21:26 ./
     4 drwx------    1 root     root        4.0K Jan 17 21:26 ../
     4 drwxr-xr-x    5 root     root        4.0K Jan 17 21:26 app/
     4 drwxr-xr-x    1 root     root        4.0K Jan 17 21:26 bin/
     4 drwxr-xr-x   87 root     root        4.0K Jan 17 21:26 node_modules/
     4 -rw-rw-r--    1 root     root         712 Jan 17 21:24 package.json
     4 drwxr-xr-x    2 root     root        4.0K Jan 17 21:26 persisted-state/
    20 -rw-rw-r--    1 root     root       17.3K Jan 17 21:26 yarn.lock

Replies to similar issue (#277) do not seem to apply any longer. Again, I do not have the API key, where can I get it from on the container running the Outline server?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

10reactions
trevjcommented, Jan 22, 2019

@Fastidious Thanks for trying Outline. We recently changed the location on disk where these files are stored. They’re now in /opt/outline. I think this is the file you’re looking for:

/opt/outline/access.txt
1reaction
Fastidiouscommented, Jan 25, 2019

@trevj the file location I was expecting was within the container. For a solution that is containerised, that would be the obvious place to look for, the container itself (all my commands above refer to the shadowbox container itself, as you can see).

It would be best if a distinction was made, when referring to files locations. The access.txt file you referred to is, indeed, on the host /opt/outline/ directory, and not on the container’s equally named directory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outline Manager connect to exisitng Outline servers ? #277
I set up an Outline server using Outline Manager on my laptop No. 1. While I'm using my laptop No. 2, I wanted...
Read more >
Connecting your device to an Outline server - Help
Once you have established your connection to the server, you can click "connect" or "disconnect" to use Outline. Important: Outline does not ...
Read more >
How To Run Your Own VPN Server With Outline ... - YouTube
Choose " Connect This Device" if you would like to get connected to your Outline VPN through your current device.
Read more >
How does Outline Manager connect to the outline server on ...
I'm able to create a droplet on Digital Ocean using the Outline Manager, but it is not able to connect and shows a...
Read more >
Outline VPN: How to install it on your server (Tutorial)
Click on the Get connected button, which will give you a walkthrough on how to install and configure the appropriate VPN client for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found