Jump to content

puithove

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by puithove

  1. I just rebuilt my image and now when the VPN_ENABLED is set to yes I get this error:

    2016-07-28 10:53:34,542 DEBG 'webui-script' stdout output:
    [info] Starting Deluge webui...
    
    2016-07-28 10:53:30,858 DEBG 'start-script' stdout output:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    
    2016-07-28 10:53:30,859 DEBG 'start-script' stdout output:
    --------------------
    [info] Starting OpenVPN...
    
    2016-07-28 10:53:30,865 DEBG 'start-script' stdout output:
    Thu Jul 28 10:53:30 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
    Thu Jul 28 10:53:30 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
    Thu Jul 28 10:53:30 2016 WARNING: file 'credentials.conf' is group or others accessible
    
    2016-07-28 10:53:30,933 DEBG 'start-script' stdout output:
    Thu Jul 28 10:53:30 2016 UDPv4 link local: [undef]
    Thu Jul 28 10:53:30 2016 UDPv4 link remote: [AF_INET]104.207.136.82:1198
    
    2016-07-28 10:53:31,086 DEBG 'start-script' stdout output:
    Thu Jul 28 10:53:31 2016 [0dcbce5894d6959d6782a21de98ece7f] Peer Connection Initiated with [AF_INET]104.207.136.82:1198
    
    2016-07-28 10:53:33,521 DEBG 'start-script' stdout output:
    Thu Jul 28 10:53:33 2016 TUN/TAP device tun0 opened
    Thu Jul 28 10:53:33 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Thu Jul 28 10:53:33 2016 /usr/bin/ip link set dev tun0 up mtu 1500
    
    2016-07-28 10:53:33,523 DEBG 'start-script' stdout output:
    Thu Jul 28 10:53:33 2016 /usr/bin/ip addr add dev tun0 local 10.140.1.6 peer 10.140.1.5
    
    2016-07-28 10:53:33,528 DEBG 'start-script' stdout output:
    Thu Jul 28 10:53:33 2016 Initialization Sequence Completed
    
    2016-07-28 10:53:33,580 DEBG 'privoxy-script' stdout output:
    [info] Privoxy set to disabled
    
    2016-07-28 10:53:33,580 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47649632539496 for <Subprocess at 47649632421432 with name privoxy-script in state RUNNING> (stderr)>
    2016-07-28 10:53:33,580 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47649632539064 for <Subprocess at 47649632421432 with name privoxy-script in state RUNNING> (stdout)>
    2016-07-28 10:53:33,580 INFO exited: privoxy-script (exit status 0; expected)
    2016-07-28 10:53:33,580 DEBG received SIGCLD indicating a child quit
    2016-07-28 10:53:33,595 DEBG 'deluge-script' stdout output:
    [info] Deluge daemon not running, marking as first run
    
    2016-07-28 10:53:34,076 DEBG 'deluge-script' stdout output:
    [warn] PIA incoming port is not an integer, downloads will be slow, does PIA remote gateway supports port forwarding?
    
    2016-07-28 10:53:34,083 DEBG 'deluge-script' stdout output:
    [info] All checks complete, starting Deluge...
    
    2016-07-28 10:53:34,542 DEBG 'webui-script' stdout output:
    [info] Starting Deluge webui...
    
    2016-07-28 10:53:34,947 DEBG 'deluge-script' stdout output:
    Setting random_port to False..
    Configuration value successfully updated.
    
    2016-07-28 10:53:35,316 DEBG 'deluge-script' stderr output:
    [ERROR ] 10:53:35 main:347 malformed expression (,)
    Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/main.py", line 344, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 102, in handle
    return self._set_config(*args, **options)
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 136, in _set_config
    val = simple_eval(options["set"][1] + " " .join(args))
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 85, in simple_eval
    res = atom(src.next, src.next())
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 54, in atom
    out.append(atom(next, token))
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 77, in atom
    raise SyntaxError("malformed expression (%s)" % token[1])
    SyntaxError: malformed expression (,)
    
    2016-07-28 10:53:35,318 DEBG 'deluge-script' stdout output:
    malformed expression (,)
    Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/main.py", line 344, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 102, in handle
    return self._set_config(*args, **options)
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 136, in _set_config
    val = simple_eval(options["set"][1] + " " .join(args))
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 85, in simple_eval
    res = atom(src.next, src.next())
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 54, in atom
    out.append(atom(next, token))
    File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 77, in atom
    raise SyntaxError("malformed expression (%s)" % token[1])
    SyntaxError: malformed expression (,)
    

     

    Here are my settings please let me know if anything looks off (please excuse the formating)

    /config
    
    /mnt/cache/appdata/delugevpn/
    
    
    /data
    
    /mnt/user/Downloads/
    
    Port Mappings
    Container port:	Host port:	Protocol:
    
    
    	Add port
    
    8112
    
    8112
    
    
    58846
    
    58846
    
    
    8118
    
    8119
    
    Environment Variables
    Variable Name:	Variable Value:
    
    
    Add Variable
    
    VPN_ENABLED
    
    yes
      
    
    VPN_USER
    
    myuser
      
    
    VPN_PASS
    
    mypass
      
    
    VPN_REMOTE
    
    us-midwest.privateinternetaccess.com
      
    
    VPN_PORT
    
    1198
      
    
    VPN_PROTOCOL
    
    udp
      
    
    VPN_PROV
    
    pia
      
    
    STRONG_CERTS
    
    no
      
    
    ENABLE_PRIVOXY
    
    no
      
    
    LAN_NETWORK
    
    192.168.1.0/24
      
    
    DEBUG
    
    false
      
    
    PUID
    
    99
      
    
    PGID
    
    100
      

     

    I just registered to report the same thing.  It happens when using any of the PIA servers with a hyphen in the name - like "us-east" but if I use any of the server names without hyphen, it works fine.  So seems like the server name isn't escaped properly in the code.

     

    BTW - just started using delugevpn container recently.  Very nice.  Thanks for this.

×
×
  • Create New...