Constant browser refresh after logging into shared workspace

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 28.0.1.1
Operating system and version (eg, Ubuntu 20.04): Linux 6.5.11-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-6 (2023-11-29T08:32Z) x86_64
PHP version (eg, 7.4): 8.2.7

The issue you are facing:
Constant reloading/refresh of the browser after logging into a shared workspace.

FYI this installation last worked on version 23.0.12.2. After updating the error occurse.

Is this the first time you’ve seen this error? (Y/N):
Yes

Steps to replicate it:

  1. Click link to shared workspace
  2. log in

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "box.do-main.de",
        "box.domain2023.ven-dor.de"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "http:\/\/box.do-main.de\/nextcloud",
    "dbtype": "mysql",
    "version": "28.0.1.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "updater.release.channel": "stable",
    "encryption.legacy_format_support": false,
    "encryption.key_storage_migrated": false,
    "mail_sendmailmode": "smtp",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "PLAIN",
    "mail_smtpsecure": "ssl",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "filelocking.enabled": true,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379,
        "timeout": 0
    },
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

The output of your Apache/nginx/system log in /var/log/____:

session heartbeat polling started
server.css:1 
        
        
       GET https://box.do-main.de/index.php/apps/theming/image/logo?v=11 404 (Not Found)
client.js:540 
        
        
       PROPFIND https://box.do-main.de/public.php/webdav/ 401 (Unauthorized)
request @ client.js:270
propFind @ client.js:92
getFolderContents @ client.js:540
reload @ filelist.js?v=4346fd78-11:2218
changeDirectory @ filelist.js?v=4346fd78-11:2073
initialize @ public.js?v=4346fd78-11:297
(anonymous) @ public.js?v=4346fd78-11:507
(anonymous) @ delay.js:7
setTimeout (async)
(anonymous) @ delay.js:6
(anonymous) @ restArguments.js:18
Ce @ _executeBound.js:8
n @ partial.js:18
(anonymous) @ public.js?v=4346fd78-11:506
Show 7 more frames
Show less
RichWorkspace.vue:166 
        
        
       GET https://box.do-main.de/ocs/v2.php/apps/text/public/workspace?path=%2F&shareToken=5fTJJN4mR7A5RQ3 404 (Not Found)
(anonymous) @ xhr.js:255
xhr @ xhr.js:49
Oe @ dispatchRequest.js:51
request @ Axios.js:146
P.forEach.Ye.<computed> @ Axios.js:172
(anonymous) @ bind.js:5
getFileInfo @ RichWorkspace.vue:166
mounted @ RichWorkspace.vue:117
En @ vue.runtime.esm.js:3017
_r @ vue.runtime.esm.js:4032
e @ vue.runtime.esm.js:3905
ci.$mount @ vue.runtime.esm.js:8779
(anonymous) @ public.js:81
Promise.then (async)
render @ public.js:68
(anonymous) @ filelist.js?v=4346fd78-11:495
setTimeout (async)
(anonymous) @ filelist.js?v=4346fd78-11:494
initHeadersAndFooters @ filelist.js?v=4346fd78-11:485
initialize @ filelist.js?v=4346fd78-11:473
FileList @ filelist.js?v=4346fd78-11:32
initialize @ public.js?v=4346fd78-11:79
(anonymous) @ public.js?v=4346fd78-11:507
(anonymous) @ delay.js:7
setTimeout (async)
(anonymous) @ delay.js:6
(anonymous) @ restArguments.js:18
Ce @ _executeBound.js:8
n @ partial.js:18
(anonymous) @ public.js?v=4346fd78-11:506
Show 5 more frames
Show less
client.js:554 jQuery.Deferred exception: result.shift is not a function TypeError: result.shift is not a function
    at FileList.reloadCallback (https://box.do-main.de/apps/files/js/filelist.js?v=4346fd78-11:2285:26)
    at u (https://box.do-main.de/dist/core-common.js?v=4346fd78-11:2:1220616)
    at c (https://box.do-main.de/dist/core-common.js?v=4346fd78-11:2:1220918) undefined
w.Deferred.exceptionHook @ jquery.js:3783
c @ jquery.js:3561
setTimeout (async)
(anonymous) @ jquery.js:3602
l @ jquery.js:3223
fireWith @ jquery.js:3353
fire @ jquery.js:3361
l @ jquery.js:3223
fireWith @ jquery.js:3353
Deferred.w.each.i.<computed> @ jquery.js:3698
(anonymous) @ client.js:554
Promise.then (async)
getFolderContents @ client.js:544
reload @ filelist.js?v=4346fd78-11:2218
changeDirectory @ filelist.js?v=4346fd78-11:2073
initialize @ public.js?v=4346fd78-11:297
(anonymous) @ public.js?v=4346fd78-11:507
(anonymous) @ delay.js:7
setTimeout (async)
(anonymous) @ delay.js:6
(anonymous) @ restArguments.js:18
Ce @ _executeBound.js:8
n @ partial.js:18
(anonymous) @ public.js?v=4346fd78-11:506
Show 14 more frames
Show less
client.js:554 jQuery.Deferred exception: result.shift is not a function TypeError: result.shift is not a function
    at FileList.reloadCallback (https://box.do-main.de/apps/files/js/filelist.js?v=4346fd78-11:2285:26)
    at u (https://box.do-main.de/dist/core-common.js?v=4346fd78-11:2:1220616)
    at c (https://box.do-main.de/dist/core-common.js?v=4346fd78-11:2:1220918) undefined
w.Deferred.exceptionHook @ jquery.js:3783
c @ jquery.js:3561
setTimeout (async)
(anonymous) @ jquery.js:3602
l @ jquery.js:3223
fireWith @ jquery.js:3353
fire @ jquery.js:3361
l @ jquery.js:3223
fireWith @ jquery.js:3353
c @ jquery.js:3577
setTimeout (async)
(anonymous) @ jquery.js:3602
l @ jquery.js:3223
fireWith @ jquery.js:3353
fire @ jquery.js:3361
l @ jquery.js:3223
fireWith @ jquery.js:3353
Deferred.w.each.i.<computed> @ jquery.js:3698
(anonymous) @ client.js:554
Promise.then (async)
getFolderContents @ client.js:544
reload @ filelist.js?v=4346fd78-11:2218
changeDirectory @ filelist.js?v=4346fd78-11:2073
initialize @ public.js?v=4346fd78-11:297
(anonymous) @ public.js?v=4346fd78-11:507
(anonymous) @ delay.js:7
setTimeout (async)
(anonymous) @ delay.js:6
(anonymous) @ restArguments.js:18
Ce @ _executeBound.js:8
n @ partial.js:18
(anonymous) @ public.js?v=4346fd78-11:506
Show 21 more frames
Show less
server.css:1 
        
        
       GET https://box.do-main.de/index.php/apps/theming/image/logo?v=11 404 (Not Found)
1331Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
5fTJJN4mR7A5RQ3:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
2 Likes

I have the same problem since updating to 28.0.0

If you add /download to the share URL it still works (which is to say, the folder will be downloaded).

Hi!
Same problem on a fresh 28.0.1 (my first time on NextCloud).
It seems to be a workaround: Sharing content via link broke on NC28 - #2 by swindhab