Skip to content

Upgrade to 17.10 #25

@chadhumphrey

Description

@chadhumphrey

Greetings,

I had pypia working prefectly on 16.10, but the upgrade to 17.10 seems to have messed up my configurations.

Just to complicate thing I'm running the python command thru PHP. I know crazy right? (long story)

    echo exec('ls', $out);
    echo exec('pwd', $out);
    echo exec('python3 pypia/pypia.py -s -r us  2>&1', $out);
    var_dump($out);```

So this command worked just fine in 16.10, but upgrading to 17.10, I might have missed a configuration. Obviously the command `python3 pypia/pypia.py -s -r us` works just fine from the command line. But when I access the php file from a web browser I get the following

`{ [0]=> string(11) "LICENSE.txt" [1]=> string(9) "README.md" [2]=> string(14) "legacy_scripts" [3]=> string(5) "pypia" [4]=> string(8) "setup.py" [5]=> string(7) "test.sh" [6]=> string(19) "/var/www/html/pypia" [7]=> string(88) "Connection 'PIA - US East' deactivation failed: Not authorized to deactivate connections" [8]=> string(74) "Error: Connection activation failed: Not authorized to control networking." [9]=> string(30) "Disconnecting PIA - US East..." [10]=> string(30) "Activating PIA - US Midwest..." } ` 

I suspect it's because the user "www-data" does not have access to control networking? This might be outside the scope of the code, cause it deals more with network configurations?

Thanks 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions