Installer fails under Kubuntu 18.04 (Ruby failure - '(Errno::EACCES)' )
I'm trying to get the VPN installed under Kubuntu 18.04. Running ./pia-v80-installer-linux.sh gives the following error:
I did a search for the Ruby error and this is the same problem that was reported by Bastoune about Linux Mint, back in March, in this thread:
https://www.privateinternetaccess.com/forum/discussion/23565/how-to-setup-pia-on-linux-mint
Aside from the difference in my home directory name, the results are almost identical. Note that I am not trying to run the installer as root.
I am assuming that all the official variants of Ubuntu are supported, if Linux Minit is, as well?
[email protected]:~/pia-v80-installer-linux$
Permission denied @ rb_sysopen - /home/homebase/.pia_manager/log/pia_install.log
Permission denied @ rb_sysopen - /home/homebase/.pia_manager/log/pia_install.log
Permission denied @ rb_sysopen - /home/homebase/.pia_manager/log/pia_install.log
Permission denied @ rb_sysopen - /home/homebase/.pia_manager/log/pia_install.log
Permission denied @ rb_sysopen - /home/homebase/.pia_manager/log/pia_install.log
Installing files...
Permission denied @ rb_sysopen - /home/homebase/.pia_manager/log/pia_install.log
/home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:229:in `mkdir': Permission denied @ dir_s_mkdir - /home/homebase/.pia_manager/data (Errno::EACCES)
from /home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:229:in `fu_mkdir'
from /home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:207:in `block (2 levels) in mkdir_p'
from /home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:205:in `reverse_each'
from /home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:205:in `block in mkdir_p'
from /home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:191:in `each'
from /home/homebase/pia-v80-installer-linux/.pia_install.31900/installer_linux/ruby/64/fileutils.rb:191:in `mkdir_p'
from ./installer_linux/installer.rb:77:in `install'
from ./installer_linux/installer.rb:192:in `<main>'
[email protected]:~/pia-v80-installer-linux$
I did a search for the Ruby error and this is the same problem that was reported by Bastoune about Linux Mint, back in March, in this thread:
https://www.privateinternetaccess.com/forum/discussion/23565/how-to-setup-pia-on-linux-mint
Aside from the difference in my home directory name, the results are almost identical. Note that I am not trying to run the installer as root.
I am assuming that all the official variants of Ubuntu are supported, if Linux Minit is, as well?
Comments
You should have no issues installing PIA on a Kubuntu distro using the regular install instructions. It looks like your antivirus or firewall may be blocking parts of the install. Please try adding the following as an exception to your security software:
~/.pia_manager
This will exclude the VPN software, and all of its components from your anti-virus, and hopefully allow the connection through.
A reboot and re-installation is required to establish these security changes; please use the following instructions to reinstall the VPN software:
https://helpdesk.privateinternetaccess.com/hc/en-us/articles/232054147-How-can-I-uninstall-reinstall-your-application-on-Linux-
I don't think it has anything to do with antivirus (which I don't have) or a firewall...
I've tried everything suggested to me, including what Coy suggested in email -- no dice.
I did find this, though:
https://www.reddit.com/r/elementaryos/comments/8gj6x2/pia_client_install_permission_denied/
edit: This was my problem. I originally, by mistake ran the installer as root (via sudo) -- it created a ~/.pia_manager folder with root permissions, which causes the problem with installation permissions... I removed that ~/.pia_manager folder, ran it again, it works fine.