-
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
Cannot mount remote share (server to server sharing) #11413
Comments
I can't reproduce it. The last time I saw this errror message was because mod_rewrite wasn't enabled. Can you double check that this module is enabled on your server? If it is disabled or if you are not sure you can enable it with "a2enmod rewrite" and then restart your apache. Another thing which could be related it the webdav error. Please check if webdav works correctly? First make sure that you are no longer logged in and then open this URL in your browser:
If webdav works correctly you should now see a listing of the files from "username". |
@schiesbn I validated that rewrite was enabled on both ubuntu boxes. I validated that I can access the ubuntu-14 box successfully via the browser I cannot though access the ubuntu-12 box successfully. In fact, when I configure a webdav external storage mount point, the mount is successfully created. When I go the files page, the log file gets filled with
with an occasional thrown in (I had windows network drive and sharepoint configured though I disabled them when trying to diagnose what's going on here)
|
@schiesbn This may be a dup of #11433 |
I don't think it's a duplicate, the code paths are not the same. The error Is the setup from Ubuntu 14 and Ubuntu 12 the same ? Are these the Ubuntu versions ? If I remember well Ubuntu 12 has an older PHP version, maybe it's related. If the connection over WebDAV work on ext storage, it should work for server to server sharing as it uses the same mechanism. Strange. Needs further research. |
I managed to reproduce it only once... but it might have been a network connectivity issue. @jnfrmarks Are you able to reproduce the issue consistently ? |
Another try: I have setup two virtual machines: Ubuntu 14.04.1 and a target VM Ubuntu 12.04. Note that I had to install php5-curl and enable mod_rewrite to make it work, but I assume that you already have it else we'd see errors in the log. Can you check the logs from both VMs ? |
@PVince81 Yes, I can reproduce this. I took the ubuntu 12 box out of the mix and am now creating the link from a rhel 6 box and sharing with ubuntu 14. I'm still going through the system configurations to make sure they are all correct. |
@jnfrmarks any update on the setups? |
@PVince81 I believe both configurations were valid. I'm double checking now. |
Here's what I found: There are three boxes I'm playing with: ubuntu-12, ubuntu-14, and rhel over SSL I can successfully share between the two ubuntu boxes. Even though I had enabled rewrite I still needed to go into the config file and make sure that AllowOverride was set to All. When I try to share between the rhel box and either of the ubuntu boxes, I get the "Couldn't add remote share" error from the box I'm sharing with (ie, the ubuntu box). I confirmed that AllowOverride is set to All in httpd.conf. I can access the rhel box via webdav as long as I don't include the credentials in the URL/ Where does this leave us: The original problem was definitely user error (configuration problem) I'm not sure though about the issue going over SSL. What can I look at there? |
@icewind1991 @LukasReschke any idea ? This still sounds like a setup issue. |
Are they self signed certificates ? |
yes; they are self signed certs and there isn't anything in the logs re: ssl connection issue - at least I didn't see anything when I ran the test. |
See #11613 |
Fixed by #11613 |
Steps to reproduce
Expected behaviour
The link/file can be shared
Actual behaviour
User gets a "Couldn't add remote share" error
Server configuration
Operating system:
Ubuntu 14
Web server:
Apache/2.2.22
Database:
MySql
PHP version:
PHP 5.5
ownCloud version: (see ownCloud admin page)
ownCloud Enterprise Edition 7 Beta2 (testing)
Updated from an older ownCloud or fresh install:
fresh install
List of activated apps:
List from system creating link (ubuntu 14):
Enabled:
Disabled:
List from system creating share (ubuntu 12):
Enabled:
Disabled:
Are you using external storage, if yes which one: local/smb/sftp/...
yes, S3
Are you using encryption: yes/no
no
Client configuration
Browser:
Chrome and firefox
Operating system:
windows
Logs
ownCloud log (data/owncloud.log)
From system creating link:
There's nothing in the log from the system creating the share:
The text was updated successfully, but these errors were encountered: