→
Steps to reproduce
- Upgrade to Text Editor 2.50 using the Marketplace link
- After upgrade you are able to create a text file
- Once a file is created and you attempt to add text it does not “read” the file. The text file window remains blank with a rotating circle in the middle.
- You cannot edit an existing text file either it has the same blank window.
Expected behaviour
After the app is update you should be able to create, add text and have the app auto save text and you should be able to exit the app.
Actual behaviour
As noted above you can create a new text file but you are unable to add text to a new file or view/edit an existing file.
Server configuration
Operating system:
Debian 10
Web server:
Apache
Database:
MariaDB
PHP version:
ver 7.4.33
ownCloud version: (see ownCloud admin page)
Version: 10.11.0.6
Versioning String: 10.11.0
Updated from an older ownCloud or fresh install:
Updated July 2022
Where did you install ownCloud from:
owncloud repos
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
```Not Found
The requested URL was not found on this server.
sudo -u www-data php occ config:list system
**The content of config/config.php:**
{
"system": {
"instanceid": "ocl06yd2d13j",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
***** DOMAINNAMES & IPs REMOVED *****
],
"datadirectory": "\/var\/www\/html\/owncloud\/data",
"overwrite.cli.url": "http:\/\/***IP ADDRESS REMOVED***\/owncloud",
"dbtype": "mysql",
"version": "10.11.0.6",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"allow_user_to_change_mail_address": "",
"logtimezone": "UTC",
"apps_paths": [
{
"path": "\/var\/www\/html\/owncloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/owncloud\/apps-external",
"url": "\/apps-external",
"writable": true
}
],
"installed": true,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"loglevel": 2,
"theme": ""
}
}
sudo -u www-data php occ app:list
```**List of activated apps:**
- calendar:
- Version: 2.0.0
- Path: /var/www/html/owncloud/apps-external/calendar
- dav:
- Version: 0.7.0
- Path: /var/www/html/owncloud/apps/dav
- federatedfilesharing:
- Version: 0.5.0
- Path: /var/www/html/owncloud/apps/federatedfilesharing
- files:
- Version: 1.5.2
- Path: /var/www/html/owncloud/apps/files
- files_pdfviewer:
- Version: 1.0.1
- Path: /var/www/html/owncloud/apps-external/files_pdfviewer
- files_sharing:
- Version: 0.14.0
- Path: /var/www/html/owncloud/apps/files_sharing
- files_texteditor:
- Version: 2.5.0
- Path: /var/www/html/owncloud/apps-external/files_texteditor
- files_trashbin:
- Version: 0.9.1
- Path: /var/www/html/owncloud/apps/files_trashbin
- market:
- Version: 0.7.0
- Path: /var/www/html/owncloud/apps/market
- updatenotification:
- Version: 0.2.1
- Path: /var/www/html/owncloud/apps/updatenotification
Disabled:
- comments:
- Path: /var/www/html/owncloud/apps/comments
- configreport:
- Path: /var/www/html/owncloud/apps/configreport
- encryption:
- Path: /var/www/html/owncloud/apps/encryption
- external:
- Path: /var/www/html/owncloud/apps/external
- federation:
- Path: /var/www/html/owncloud/apps/federation
- files_external:
- Path: /var/www/html/owncloud/apps/files_external
- files_mediaviewer:
- Path: /var/www/html/owncloud/apps/files_mediaviewer
- files_versions:
- Path: /var/www/html/owncloud/apps/files_versions
- firstrunwizard:
- Path: /var/www/html/owncloud/apps/firstrunwizard
- gallery:
- Path: /var/www/html/owncloud/apps-external/gallery
- notifications:
- Path: /var/www/html/owncloud/apps/notifications
- provisioning_api:
- Path: /var/www/html/owncloud/apps/provisioning_api
- systemtags:
- Path: /var/www/html/owncloud/apps/systemtags
- user_external:
- Path: /var/www/html/owncloud/apps/user_external
**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/...
No
### Client configuration
**Browser:**
Firefox
**Operating system:**
Windows 10 pro
### Logs
#### ownCloud log (data/owncloud.log)
Insert your ownCloud log here
{"reqId":"ZB0-Wpp5UvX9lcI8zYJaeAAAAAA","level":3,"time":"2023-03-24T06:12:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"xxx.x","app":"index","method":"GET","url":"\/owncloud\/index.php\/apps\/files_texteditor\/ajax\/loadfile?filename=Places+to+visit.txt&dir=%2FVacations","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Class 'Firebase\\\\JWT\\\\JWT' not found\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps-external\\\/files_texteditor\\\/controller\\\/filehandlingcontroller.php(400): OCA\\\\Files_Texteditor\\\\Controller\\\\FileHandlingController->getTokenForUserAccess()\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps-external\\\/files_texteditor\\\/controller\\\/filehandlingcontroller.php(147): OCA\\\\Files_Texteditor\\\\Controller\\\\FileHandlingController->acquirePersistentLock()\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(170): OCA\\\\Files_Texteditor\\\\Controller\\\\FileHandlingController->load()\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(100): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(914): OC\\\\Route\\\\Router->match()\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(54): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps-external\\\/files_texteditor\\\/controller\\\/filehandlingcontroller.php\",\"Line\":485}"}
{"reqId":"ZB0-cMpbgJnNQYQw@gtOLQAAAAo","level":3,"time":"2023-03-24T06:13:05+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"xxx.x","app":"index","method":"GET","url":"\/owncloud\/index.php\/apps\/files_texteditor\/ajax\/loadfile?filename=Places+to+visit.txt&dir=%2FVacations","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Class 'Firebase\\\\JWT\\\\JWT' not found\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps-external\\\/files_texteditor\\\/controller\\\/filehandlingcontroller.php(400): OCA\\\\Files_Texteditor\\\\Controller\\\\FileHandlingController->getTokenForUserAccess()\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps-external\\\/files_texteditor\\\/controller\\\/filehandlingcontroller.php(147): OCA\\\\Files_Texteditor\\\\Controller\\\\FileHandlingController->acquirePersistentLock()\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(170): OCA\\\\Files_Texteditor\\\\Controller\\\\FileHandlingController->load()\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(100): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(344): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(914): OC\\\\Route\\\\Router->match()\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(54): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps-external\\\/files_texteditor\\\/controller\\\/filehandlingcontroller.php\",\"Line\":485}"}
{"reqId":"ZB0-7tWe@vbcg-