outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Initialization step is not working

Open wanyay opened this issue 3 years ago • 19 comments

Describe the bug Initialization step is not working

Screenshots Screenshot from 2022-11-21 22-13-46 Screenshot from 2022-11-22 12-10-52

Client System (please complete the following information):

  • Outline Client Version [Linux 1.8.1]
  • Your Operating System: [Manjaro Linux 22]

wanyay avatar Nov 22 '22 05:11 wanyay

Correct I have this exact problem too.

persian85 avatar Nov 23 '22 15:11 persian85

It is better to use the AppImage version to use the application, so that you don't have any conflict with loading the Command Line Terminal to launch it. for more information please email us ( we are representative of Outline in IRAN ) : [email protected]

idevsoftwaregroup avatar Nov 24 '22 22:11 idevsoftwaregroup

Actually I tested the AppImage and got this error too.

persian85 avatar Nov 25 '22 05:11 persian85

Hi @wanyay @persian85 , sorry about the inconvenience. From the error message, it is because we failed to lock the temporary installation folder using chattr -R -i /tmp/xxxxx, error message is chattr operation not supported while reading flags on /tmp/xxxxx. Could you please double confirm that this command is working on your machine and the paths in /tmp/ are not symbolic links?

jyyi1 avatar Dec 01 '22 16:12 jyyi1

@jyyi1 Sorry for the late reply, I have checked the chattr command is not working my machine. Could you please share me if you have a quick solution for it.?

Screenshot from 2022-12-17 21-57-00

wanyay avatar Dec 17 '22 15:12 wanyay

@wanyay Maybe because your /tmp/ folder is a symbolic link? Anyway, here is a workaround:

  1. download the contents in "https://github.com/Jigsaw-Code/outline-client/tree/linux-v1.8.1/tools/outline_proxy_controller/dist" and cd into the folder
  2. Make sure install_linux_service.sh and OutlineProxyController are executable (chmod +x)
  3. Run sudo ./install_linux_service.sh <your-linux-username>, for example, if you linux username is wyan, please run sudo ./install_linux_service.sh wyan
  4. After the installation script runs successfully, please launch Outline and try to connect

jyyi1 avatar Dec 19 '22 17:12 jyyi1

I had the same problem because my /tmp was mounted on tmpfs. Removed mount point from /etc/fstab and initialization processed completed just fine.

simakazi avatar Dec 27 '22 14:12 simakazi

I had the same problem because my /tmp was mounted on tmpfs. Removed mount point from /etc/fstab and initialization processed completed just fine.

Could you help with it? How to remove mount point?

VladimirCores avatar Jan 03 '23 17:01 VladimirCores

In Manjaro(might be in all Arch-based systems) /tmp is by default mounted on tmpfs. In fstab : tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0. This might be the problem. Btw, @jyyi1, your https://github.com/Jigsaw-Code/outline-client/issues/1484#issuecomment-1358019993 workaround works perfectly on Manjaro 22.

searayeah avatar Jan 21 '23 20:01 searayeah

Please... how can you assume the /tmp is on a normal disk (not on tmpfs) ?! Fedora, a VERY famous linux distribution mounts /tmp on tmpfs by default. I would say it is really common that /tmp is in memory but not physical disk.

Why not just use the current working directory, which is more likely on a physical disk?

xqyww123 avatar Jan 30 '23 15:01 xqyww123

Hi @xqyww123 sorry about the inconvenience, there are some security reasons why we have to use chattr. Also we only officially support Ubuntu (or some Debian based distro) for now, we will update our website to clearly deliver this message.

We are also working on a standalone command line tool for Linux, that doesn't require any installations, and it will also support more distro's as well.

jyyi1 avatar Jan 31 '23 19:01 jyyi1

@jyyi1 I have installed outline_proxy_controller successfully on my machine as described in this comment https://github.com/Jigsaw-Code/outline-client/issues/1484#issuecomment-1358019993 but when running the outline client from the AppImage file I still have the same problem.

I see there is a new service outline_proxy_controller.service added to my system and the service is running when I check with systemctl status but are we sure that the outline app image executable file is using this service ?

Or may be because I run the outline client the wrong way ?

jonathanpa avatar Mar 05 '23 15:03 jonathanpa

Hi @jonathanpa , yes Outline client will communicate with outline_proxy_controller.service through Unix socket /var/run/outline_controller. Please make sure your current account is able to rw this socket. Also, please check whether outline_proxy_controller.service is running normally by this command journalctl -u outline_proxy_controller.

jyyi1 avatar Mar 06 '23 16:03 jyyi1

@wanyay Maybe because your /tmp/ folder is a symbolic link? Anyway, here is a workaround:

1. download the contents in "https://github.com/Jigsaw-Code/outline-client/tree/linux-v1.8.1/tools/outline_proxy_controller/dist" and `cd` into the folder

2. Make sure `install_linux_service.sh` and `OutlineProxyController` are executable (`chmod +x`)

3. Run `sudo ./install_linux_service.sh <your-linux-username>`, for example, if you linux username is `wanyay`, please run `sudo ./install_linux_service.sh wanyay`

4. After the installation script runs successfully, please launch Outline and try to connect

It's not working on my Fedora 37 installation.

I get these errors

./install_linux_service.sh: line 8: syntax error near unexpected token newline' ./install_linux_service.sh: line 8: '

zeretrelle avatar Mar 10 '23 20:03 zeretrelle

@zeretrelle I'm not sure about this error because line 8 of ./install_linux_service.sh is a comment line. Please double check the line ending (make sure they are linux line endings instead of Windows line endings), also please make sure you can execute the bash scripts in your system.

jyyi1 avatar Mar 10 '23 21:03 jyyi1

  1. Download 3 files from https://github.com/Jigsaw-Code/outline-client/tree/linux-v1.8.1/tools/outline_proxy_controller/dist

  2. Make files OutlieProxyController and install_linux_service.sh executable with chmod +x

  3. Run sudo ./outline_linux_service.sh {linux_username}

  4. Then go to $HOME/.config/Outline and create Empty File with name “connection_store“

  5. After that cd /var/run and run sudo chown {linux_username}:outlinevpn outline_controller

  6. Try to connect

VACdotCS avatar Nov 09 '23 16:11 VACdotCS

  1. Download 3 files from https://github.com/Jigsaw-Code/outline-client/tree/linux-v1.8.1/tools/outline_proxy_controller/dist
  2. Make files OutlieProxyController and install_linux_service.sh executable with chmod +x
  3. Run sudo ./outline_linux_service.sh {linux_username}
  4. Then go to $HOME/.config/Outline and create Empty File with name “connection_store“
  5. After that cd /var/run and run sudo chown {linux_username}:outlinevpn outline_controller
  6. Try to connect

thanks a lot!!! that works for me

jahrec avatar Jan 29 '24 19:01 jahrec

  1. Run sudo ./outline_linux_service.sh {linux_username}

There is no such file. There is install_linux_service.sh .

adequacy1 avatar Jul 20 '24 10:07 adequacy1

  1. Run sudo ./outline_linux_service.sh {linux_username}

There is no such file. There is install_linux_service.sh .

Yes, this is the correct script name.

jyyi1 avatar Jul 22 '24 23:07 jyyi1