Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Configuration file download incomplete from Debian Jessie #68

Closed
cmivxx opened this issue Aug 16, 2017 · 6 comments
Closed

Configuration file download incomplete from Debian Jessie #68

cmivxx opened this issue Aug 16, 2017 · 6 comments

Comments

@cmivxx
Copy link

cmivxx commented Aug 16, 2017

All configuration file downloads are incomplete and failing after a successful installation on Debian Jessie. Any idea why that might be, or where I can look to see what might be up?

@Chocobozzz
Copy link
Owner

Please paste PHP logs.

@cmivxx
Copy link
Author

cmivxx commented Aug 16, 2017

Here's the only entries in the PHP error log (fresh install of Apache and PHP):

[Wed Aug 16 16:22:45.816060 2017] [:error] [pid 32155] [client xxx.xxx.xxx.xxx:60226] PHP Warning:  readfile(./client-conf/openvpn-gnu-linux.zip): failed to open stream: No such file or directory in /var/www/html/openvpn-admin/index.php on line 65, referer: http://xxx.xxx.xxx.xxx/openvpn-admin/index.php
[Wed Aug 16 16:30:00.619832 2017] [:error] [pid 31802] [client xxx.xxx.xxx.xxx:61262] PHP Warning:  readfile(./client-conf/openvpn-gnu-linux.zip): failed to open stream: No such file or directory in /var/www/html/openvpn-admin/index.php on line 65, referer: http://xxx.xxx.xxx.xxx/openvpn-admin/index.php
[Wed Aug 16 16:58:49.591750 2017] [:error] [pid 31802] [client xxx.xxx.xxx.xxx:65401] PHP Warning:  readfile(./client-conf/openvpn-gnu-linux.zip): failed to open stream: No such file or directory in /var/www/html/openvpn-admin/index.php on line 65, referer: http://xxx.xxx.xxx.xxx/openvpn-admin/index.php

@cmivxx
Copy link
Author

cmivxx commented Aug 16, 2017

So apparently the folder just needed a CHMOD and it was good. The ZIP is now downloaded correctly. Are these the 3 docs that are supposed to be downloaded? What does the update-resolv.sh do and shouldn't there be instructions?

Thank's for taking a look.

screen shot 2017-08-16 at 2 16 36 pm

@cmivxx
Copy link
Author

cmivxx commented Aug 16, 2017

Ok, now after the download of the ZIP, and trying to install to Tunnelblick (on OSX), I get the following error:

screen shot 2017-08-16 at 2 21 56 pm

@Chocobozzz
Copy link
Owner

It seems it failed to generate the key at installation step. Try to reinstall and pay attention to potential error logs.

@cmivxx
Copy link
Author

cmivxx commented Aug 17, 2017

Yeah, it was indeed an error in the main log that a reinstall fixed.

I would note that I still have to chmod the web client-files/ folder in order to allow generation of the zip files.

Also, I'm having a hell of a time getting the VPN to work with your configuration. I originally followed a DigitalOcean tutorial on how to set up the OpenVPN server, and using the manually generated config (OVPN file), the VPN works fine. However using the config generated with this server does not. I'm doing some experimenting now, but you may want to put in some links to a tutorial for setting up OpenVPN that works with your config.

Thanks for the awesome tool!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants