Server: Folders not live syncing in browser

Created on 18 Dec 2016  路  4Comments  路  Source: nextcloud/server

Steps to reproduce

  1. Open up desktop synced folder
  2. Open up nextcloud server in browser
  3. Upload/change name/delete a file on the synced folder on pc

Expected behaviour

The web interface should live update in an interval like the synced desktop folder

Actual behaviour

The webpage doesn't update until being refreshed, and browsing to a changed filename/foldername then given an expected error because the name is not the same after syncing

Server configuration

Operating system:
Ubuntu 16.04.1 server, running in virtualbox for testing purposes

Web server:
Apache 2.4

Database:
MySQL 5.7

PHP version:
PHP 7

Nextcloud version:
10.0.2 stable

Updated from an older Nextcloud/ownCloud or fresh install:
fresh install

Where did you install Nextcloud from:
Through the snap manager in Ubuntu like so: sudo snap install nextcloud

Signing status:


Signing status

No errors have been found.

List of activated apps:


App list

do not know where to find location in snap install

The content of config/config.php:


Config report

do not know where to find location in snap install

Are you using external storage, if yes which one: local/smb/sftp/...
no

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
not sure

Client configuration

Browser:
Firefox 50.1.0
Microsoft Edge 38.14393.0.0
Google Chrome 55.0.2883.87

Operating system:
Windows 10

Logs

Browser log


Browser log

security log:
Content Security Policy: Directive 'frame-src' has been deprecated. Please use directive 'child-src' instead. 

logging:
JQMIGRATE: Migrate is installed, version 1.4.0  jquery-migrate.min.js:2:542

javascript log:
window.controllers is deprecated. Do not use it for UA detection.  ace.js:1716

1. to develop enhancement files

Most helpful comment

With all the amazing progress Nextcloud has made, it is hard to believe that the web interface still needs manual reloading to reflect changes in the background. Needless to say Google Drive, Dropbox, One Drive all don't. So maybe this could be put on the to-do-list.

All 4 comments

I like the idea... Maybe something to consider for Nextcloud 12? cc @icewind1991

Renaming we should be able to take care of with the file id, this should also help on moves.

'version' => '13.0.2.1' and add files with other application does not show in web browser , How I force a refresh or sync files ?

After navigate to them ( because I know the name) the files appears .

solution:
sudo -u www-data php occ files:scan

With all the amazing progress Nextcloud has made, it is hard to believe that the web interface still needs manual reloading to reflect changes in the background. Needless to say Google Drive, Dropbox, One Drive all don't. So maybe this could be put on the to-do-list.

Was this page helpful?
0 / 5 - 0 ratings