Editor does not load on latest Nextcloud stable 18.0.4
mdurero opened this issue · comments
Steps to reproduce
- Install Nextcloud 18.0.4 (from .zip archive)
- Disable Text application.
- Install & enable Plain text editor from app store.
- create a file abc.txt
- try to open this file
Expected behaviour
Old style plain text editor is loaded, file abc.txt is displayed and you can write whatever you want in it.
Actual behaviour
Nothing happens. Webpage stays still on file list. Firefox javascript console shows error.
Server configuration
Operating system: Debian 10.3 - Buster - stable from February 2020, Linux kernel 4.9.58 x86_64
Web server: Apache2 2.4.38 from distribution packaging, FPM-fcgi
Database: MariaDB 10.3.22 from distribution packaging
PHP version: 7.3.14-1~deb10u1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, sodium, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, json, ldap, exif, mysqli, pdo_mysql, pdo_sqlite, apc, posix, readline, recode, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 18.0.4 - 18.0.4.2
Where did you install Nextcloud from: nextcloud-18.0.4.zip from download.nextcloud.com
List of activated apps:
Enabled:
- cloud_federation_api: 1.1.0
- dav: 1.14.0
- federatedfilesharing: 1.8.0
- files: 1.13.1
- files_sharing: 1.10.1
- files_texteditor: 2.11.0
- files_trashbin: 1.8.0
- files_versions: 1.11.0
- groupfolders: 6.0.6
- issuetemplate: 0.6.0
- lookup_server_connector: 1.6.0
- notifications: 2.6.0
- oauth2: 1.6.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- settings: 1.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- user_ldap: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- accessibility
- activity
- admin_audit
- comments
- encryption
- federation
- files_external
- files_pdfviewer
- files_rightclick
- files_videoplayer
- firstrunwizard
- logreader
- nextcloud_announcements
- password_policy
- photos
- recommendations
- serverinfo
- sharebymail
- support
- survey_client
- systemtags
- text
- updatenotification
Nextcloud configuration:
{
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"our-base-url.org"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/our-base-url.org",
"htaccess.RewriteBase": "\/",
"dbtype": "mysql",
"version": "18.0.4.2",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.enabled": true,
"enable_previews": false,
"log_type": "owncloud",
"logfile": "\/var\/log\/nextcloud\/domain.log",
"loglevel": 0,
"maintenance": false,
"mail_smtpmode": "sendmail",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"skeletondirectory": "\/data\/nextcloud\/CJCmaitre\/files\/cloud_default_files",
"data-fingerprint": "153cdd3bb52ce52a05ec1270d2e4fa04",
"updater.release.channel": "stable",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
Client configuration
Browser: Mozilla Firefox Quantum 68.7.0esr (64-bit)
Chromium Version 73.0.3683.75 (Developer Build) built on Debian 9.8, running on Debian 9.12 (64-bit)
Operating system: Debian 9.12 - Stretch - oldstable
Logs
Nextcloud log (data/owncloud.log)
No log seems relevant at loglevel 0, no log was written for 5 minutes at file opening try time, no log was written during the next 5 minutes.
Browser log
Unhandled promise rejection ChunkLoadError: "Loading chunk 22 failed.
(error: https://our-base-url.org/apps/files_texteditor/build/vendors~ace.bundle.js)"
Webpack 10
e
a
_onEditorTrigger
action
_onClickFile
I
i
w
dispatch
handle
ncvuecomponents.js:334:29396
e ncvuecomponents.js:334
exports ncvuecomponents.js:334
B ncvuecomponents.js:334
exports _invoke.js:5
<anonymous> _task.js:35
v _task.js:21
y _task.js:25
Problem solved : due to an archaic line in global Apache2 configuration, scripts weren't properly sent to the browser. The Text app was also affected.
So at the end, the effect was that some files containing a "~" in their names were denied silently.
I honestly don't really understand why it affected only some of the files and not all of them.
Sorry for the almost useless issue (except if by outstanding chance someone with exactly the same loading error passes by) and may you enjoy life despite sanitary crisis !