-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.0.4] Share external mount in CentOS #10045
Comments
@butonic Any updates? |
CentOS is heavily using SELinux. By default it prevents apache to open new network connections, resulting in an owncloud log entry like {"reqId":"53c0344d850ae","app":"PHP","message":"Cannot connect to hostname.tld. Error 13. Permission denied at \/var\/www\/html\/owncloud\/apps\/files_external\/3rdparty\/phpseclib\/phpseclib\/Net\/SSH2.php#807","level":3,"time":"2014-07-11T19:00:29+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/files_external\/ajax\/addMountPoint.php"} To fix that, as root execute
see http://stackoverflow.com/questions/24537090/unable-to-connect-with-net-ssh2-from-inside-apache |
Closing as won't fix, because this is well documented CentOS behaviour. |
Entered the above command and still have the issue. Logs:
|
@ser72 and I cannot reproduce the issue in OC7. Seems the sharing overhaul also fixed this issue. |
I can reproduce the issue in OC6.0.4 on debian. |
Issue already described in #8167 (comment) closing as duplicate |
Expected Behavior
Files are shared without error
Actual Behavior
When going to link, error appears, when share with user, nothing happens
NOTE
This occurs on CentOS Linux!!!
Steps
In this example it was done under the Personal page
An SFTP mount to a Linux machine (tested both CentOS Linux and Ubuntu Linux as SFTP server -- both exhibited the issue)
Following error appears
When select file in the Shared folder, nothing happens
LOGS
Tests
The text was updated successfully, but these errors were encountered: