You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Share with a public link some file from the web interface. Then go to the Android app, and browse to the folder where that file is. Do you see a new icon on the right side of the file entry in the list?
Is your account marked to automatically synchronize? In this case, please, disable it in the device settings. Then open the app, browse into any folder, and then browse up to root again. Then try to share a file. Tell us if that helps-
Could you give us more information about your server? What web server are you using? Could you add here the logs of the web server when trying to share?
I have owncloud version with buil 2014-01-22T11:26:13+00:00 and I have try to share on android app. Sharing has success, after I investigate and copy files form this build version to latest, everything was be the same, on my latest wersion sharing problem still occure, but when I change version.php and config.php file sharing on android works it show list of options how to share, but when I select any options eg. Copy Ling I get error "An error occure while trying to share this file or folder"
Hi, @nedimhx . There is a bug in the Android app in the processing of version number that can be resulting in this behaviour. We are fixing it at this moment.
@nedimhx, @DPTJKKVH
We have fix the problem in the Android app in the processing of version number in the release 1.5.6. Can you tell us if this issue is solved for you?
If you are having this application hosted on an Apache server, the URL sharing error "Sorry, sharing is not enabled on your server. Please contact your administrator" is more than likely caused due to the 'allow_url_fopen' and 'alolw_url_include' variables set to 'Off' in the php.ini file.. I just fixed it by turning these 'On'.
I put the following settings in the php ini
allow_url_fopen = On
allow_url_include = On
But it would not change the effect.
In the apache error log there is no entry
In the owncloud log there is no entry
In the apache acces log I got 2 entries
I put the following settings in the php ini
allow_url_fopen = On
allow_url_include = On
But it would not change the effect.
In the apache error log there is no entry
In the owncloud log there is no entry
In the apache acces log I got 2 entries
I think that it has to do with the LDAP setup.
The authentication is LDAP only.
When the App is trying to share a file, 4 LDAP requests are made.
Maybe the problem is there but need to research more.
@schiesbn
Is LDAP tested?
I got zentyal with there LDAP active directory look a like, maybe that is the problem.
If this is the problem then it could be in the server
After a long search in the wrong direction into LDAP and the reverse proxy settings.
I found that the config settings in the installation I updated from V4 to V7 are not saved.
Default values that are shown in the admin panel as active where not saved as active.
This was the setting for "Allow apps to use the Share API" that was active in the admin but not active when accessed from the API.
@nedimhx the new installation helped with diagnostics. With a new installation the settings where saved.
The App is now able to share files.
Is the a possibility to add an appropriate error message or to remove share link when disabled?
@nedimhx , thanks for your feedback about your state.
@stormbyte , thanks a lot for your deep research in this problem. It is really helpful.
We have in the backlog several improvements about the usability of the "sharing link" action, including not showing it when the server does not support it. But we don't have an estimated date to work in it.
@DPTJKKVH , @ERamseth , is this still a problem for you? Could you try to disable and then enable again the Share API in the admin settings? Thanks in advance.
After I have installed owncloud 7, problem was solved. Thats report from me :)
On January 26, 2015 8:56:33 PM "David A. Velasco" [email protected] wrote:
@nedimhx , thanks for your feedback about your state.
@stormbyte , thanks a lot for your deep research in this problem. It is
really helpful.
We have in the backlog several improvements about the usability of the
"sharing link" action, including not showing it when the server does not
support it. But we don't have an estimated date to work in it.
@DPTJKKVH , @ERamseth , is this still a problem for you? Could you try to
disable and then enable again the Share API in the admin settings? Thanks
in advance.
Reply to this email directly or view it on GitHub: #440 (comment)
Unfortunately I have still the problem with the app saying: "Sorry, you
have no permission to share this file." I disabled and reenabled the
share api like you suggested but no luck with that.
Actually the root of this bug has been identified long ago: If you enable public uploading sharing from the Android app works. I tried it myself after several reports it working and it's true. It's some problem with the sharing api checking share rules one after another and for some reason failing if public upload ist set to false.
A fix for this bug will be available with next release of the OC app, version 1.7.1. There is no estimation time for the release, but should not take to long.
If the problem persists or reappears, please, reopen.
Activity
masensio commentedon Mar 17, 2014
Hi,
Please, could you tell me what is your server version?
Write in your web browser "server address/status.php" and tell us the output, please.
Thanks.
nedimhx commentedon Mar 17, 2014
6.0.0.8
davivel commentedon Mar 17, 2014
Should be working.
Share with a public link some file from the web interface. Then go to the Android app, and browse to the folder where that file is. Do you see a new icon on the right side of the file entry in the list?
Is your account marked to automatically synchronize? In this case, please, disable it in the device settings. Then open the app, browse into any folder, and then browse up to root again. Then try to share a file. Tell us if that helps-
nedimhx commentedon Mar 17, 2014
I have done with your steps, but still same problem.
davivel commentedon Mar 20, 2014
Could you give us more information about your server? What web server are you using? Could you add here the logs of the web server when trying to share?
Thanks in advance.
nedimhx commentedon Mar 29, 2014
I have installed latest owncloud server and still same problem, where to look server logs ?
nedimhx commentedon Mar 29, 2014
UPDATE:
I have owncloud version with buil 2014-01-22T11:26:13+00:00 and I have try to share on android app. Sharing has success, after I investigate and copy files form this build version to latest, everything was be the same, on my latest wersion sharing problem still occure, but when I change version.php and config.php file sharing on android works it show list of options how to share, but when I select any options eg. Copy Ling I get error "An error occure while trying to share this file or folder"
So problem is somewhere with OC verision
nedimhx commentedon Mar 29, 2014
anyone help ?
davivel commentedon Mar 31, 2014
Hi, @nedimhx . There is a bug in the Android app in the processing of version number that can be resulting in this behaviour. We are fixing it at this moment.
Stay tuned.
DPTJKKVH commentedon Apr 26, 2014
Just wanting to say that I have exactly this bug "An error occure while trying to share this file or folder" aswell. But thanks for working on it!
masensio commentedon Jun 3, 2014
@nedimhx, @DPTJKKVH
We have fix the problem in the Android app in the processing of version number in the release 1.5.6. Can you tell us if this issue is solved for you?
Thanks.
20 remaining items
stormbyte commentedon Oct 20, 2014
ownCloud 7.0.2 with app 1.5.8
Still can't create new share for a file
stormbyte commentedon Oct 21, 2014
ownCloud 7.0.2 with app 1.6.0
Responds with "missing authirisation to share file"
What authirisation?
nirvana1 commentedon Oct 24, 2014
If you are having this application hosted on an Apache server, the URL sharing error "Sorry, sharing is not enabled on your server. Please contact your administrator" is more than likely caused due to the 'allow_url_fopen' and 'alolw_url_include' variables set to 'Off' in the php.ini file.. I just fixed it by turning these 'On'.
stormbyte commentedon Oct 25, 2014
I put the following settings in the php ini
allow_url_fopen = On
allow_url_include = On
But it would not change the effect.
In the apache error log there is no entry
In the owncloud log there is no entry
In the apache acces log I got 2 entries
"GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F5205061402_4e98912b3c_o.jpg&reshares=false&subfiles=false HTTP/1.0" 200 1410 "-" "Android-ownCloud"
"POST /ocs/v1.php/apps/files_sharing/api/v1/shares HTTP/1.0" 200 1434 "-" "Android-ownCloud"
Dutch error "u mist autorisatie om dit bestand te delen"
Translates "missing authorization to share this file"
nedimhx commentedon Oct 25, 2014
I don't have that problem after install owncloud latest stable version.
Regards
On Oct 25, 2014, stormbyte [email protected] wrote:
-- Sent with K-@ Mail - the evolution of emailing.
stormbyte commentedon Oct 28, 2014
I think that it has to do with the LDAP setup.
The authentication is LDAP only.
When the App is trying to share a file, 4 LDAP requests are made.
Maybe the problem is there but need to research more.
@schiesbn
Is LDAP tested?
I got zentyal with there LDAP active directory look a like, maybe that is the problem.
If this is the problem then it could be in the server
stormbyte commentedon Nov 24, 2014
After a long search in the wrong direction into LDAP and the reverse proxy settings.
I found that the config settings in the installation I updated from V4 to V7 are not saved.
Default values that are shown in the admin panel as active where not saved as active.
This was the setting for "Allow apps to use the Share API" that was active in the admin but not active when accessed from the API.
@nedimhx the new installation helped with diagnostics. With a new installation the settings where saved.
The App is now able to share files.
Is the a possibility to add an appropriate error message or to remove share link when disabled?
davivel commentedon Jan 26, 2015
@nedimhx , thanks for your feedback about your state.
@stormbyte , thanks a lot for your deep research in this problem. It is really helpful.
We have in the backlog several improvements about the usability of the "sharing link" action, including not showing it when the server does not support it. But we don't have an estimated date to work in it.
@DPTJKKVH , @ERamseth , is this still a problem for you? Could you try to disable and then enable again the Share API in the admin settings? Thanks in advance.
nedimhx commentedon Jan 26, 2015
After I have installed owncloud 7, problem was solved. Thats report from me :)
On January 26, 2015 8:56:33 PM "David A. Velasco"
[email protected] wrote:
DPTJKKVH commentedon Jan 26, 2015
Unfortunately I have still the problem with the app saying: "Sorry, you
have no permission to share this file." I disabled and reenabled the
share api like you suggested but no luck with that.
tobiasKaminsky commentedon Jan 27, 2015
@DPTJKKVH I also get this message, but only if I have enabled "require password"
DPTJKKVH commentedon Jan 27, 2015
Actually the root of this bug has been identified long ago: If you enable public uploading sharing from the Android app works. I tried it myself after several reports it working and it's true. It's some problem with the sharing api checking share rules one after another and for some reason failing if public upload ist set to false.
I don't know why core doesn't fix it. :\
davivel commentedon Mar 16, 2015
A fix for this bug will be available with next release of the OC app, version 1.7.1. There is no estimation time for the release, but should not take to long.
If the problem persists or reappears, please, reopen.
Merge pull request #440 from owncloud/release/1.0.13_beta.1