You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I cannot edit or show .sh files when I am logged in.
To Reproduce
Steps to reproduce the behavior:
logg into the Nextcloud
create a test.sh file and click on it to open/edit the file
the text app opens but just loads forever
Expected behavior
It should open the file so that I can read/edit it.
Good to know
Strangely enough I can view/edit that file when I share it directly over a public link. Then it gets shown correctly and loads the content.
Client details:
OS: tested on windows 10 and Android 10
Browser: tested on a chromium 80 based browser and firefox 73 on
Text app version: (see Nextcloud apps page)
1.0.2 Operating system:
ubuntu 18.04 LTS Web server:
apache2 Database:
postgresql PHP version:
7.2 Nextcloud version: (see Nextcloud admin page)
18.0.1
Additional information:
I found this error while opening the file in the browser console:
The text was updated successfully, but these errors were encountered:
I have the same problem on a file with the php extension, loads forever.
If I duplicate the file and rename it to .txt > it works, renaming to .html > also works
Pretty weird.
EDIT > Also, if I try to open the php file and then cancel (when it is forever loading) it will break the app and I will need to refresh the page for it to work again. Meaning that it won't open any files (not even .txt until the page is hard-reloaded).
EDIT3> I tried to change the 'mimetypesmapping.json' to make all code seem like 'text/plain', but that also didn't fix the problem. Text seems to ignore that config. Seems there is some problem to load any code files.
Describe the bug
I cannot edit or show .sh files when I am logged in.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should open the file so that I can read/edit it.
Good to know
Strangely enough I can view/edit that file when I share it directly over a public link. Then it gets shown correctly and loads the content.
Client details:
Text app version: (see Nextcloud apps page)
1.0.2
Operating system:
ubuntu 18.04 LTS
Web server:
apache2
Database:
postgresql
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
18.0.1
Additional information:

I found this error while opening the file in the browser console:
The text was updated successfully, but these errors were encountered: