Resharing not allowed after upgrade


#1

Hello there !

Nextcloud version : 14.0.1
Operating system and version : Ubuntu 16.04.5
Apache or nginx version : Nginx 1.10.3
PHP version : 7.1.22

The issue you are facing:

After upgrading with occ command from version 13.0.2 to 13.0.6 (everything went apparently well) when any user hit “share” there is a message greyed out “resharing is not allowed”. I tried to upgrade to 14.0.1, same.

Is this the first time you’ve seen this error? : Y

Steps to replicate it:

  1. log in with a user
  2. try to share a file/folder
  3. you can’t : “resharing is not allowed”

The output of your Nextcloud log when hitting share:

{"reqId":"YYkSKjry0zWwiPt7jQJf","level":0,"time":"2018-10-08T22:45:49+00:00","remoteAddr":"82.123.96.217","user":"xxx","app":"no app in context","method":"GET","url":"\/apps\/files\/","message":"No cache entry found for \/appdata_ochspm1e30yv\/theming\/images\/background (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_ochspm1e30yv\/theming\/images\/background)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.1.1"}
{"reqId":"bPC5Op7iPcWvHm9W6VwD","level":0,"time":"2018-10-08T22:45:49+00:00","remoteAddr":"82.123.96.217","user":"xxx","app":"no app in context","method":"GET","url":"\/apps\/files\/","message":"No cache entry found for \/appdata_ochspm1e30yv\/theming\/images\/background (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_ochspm1e30yv\/theming\/images\/background)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.1.1"}
{"reqId":"ZydkH6HcLfE2k2OYvkDM","level":0,"time":"2018-10-08T22:45:50+00:00","remoteAddr":"82.123.96.217","user":"xxx","app":"no app in context","method":"GET","url":"\/apps\/files\/","message":"No cache entry found for \/appdata_ochspm1e30yv\/theming\/images\/background (storage: local::\/var\/www\/nextcloud\/data\/, internalPath: appdata_ochspm1e30yv\/theming\/images\/background)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.1.1"}

The other are not relevant but I can give them if necessary.

Thanks in advance for your help !


#2

Hi,

Could you please check your sharing settings and let us know your settings in that section?


#3

Hi Schmu ! Thanks for the quick answer

Yes it is checked, and I tried to uncheck/check again : same…

But when I load this settings I get an error on top “can’t get/retrieve groups’ list” or something like that, my language is French… I can try to set English if this helps.
But maybe it’s unrelated ?


#4

OK the exact message is “Unable to retrieve the group list”.

I got the same in settings/admin/additional, maybe this is it ? I can’t find anything except locales on this error… Should I open a bug ?

Nothing in logs too, even level 0…


#5

Still on it… I noticed that the users are not displaying as well ! I’m getting “An error occured during the request. Unable to proceed.”

I looked up the internet, saw that it might be a encoding issue so I tried https://docs.nextcloud.com/server/14/admin_manual/configuration_database/mysql_4byte_support.html to reset everything to what’s recommended but same problem…

I dread to be running out of options soon :frowning:


#6

Hi,

Sorry, that I hadn’t found the time to answer earlier.
Your issue sounds strange and I’m not sure if I can really help here. What we can try to have a look at, is the log file again. Could you please increase the log level to Info or even Debug, perform all the steps where you noticed any issue and provide the log file afterwards?
I would suggest to open the Browser Console as well and check for error messages there as well. Just to avoid that some scripts are blocked by CSP or something like that.