I’m running Nextcloud 28.0.5 (on Ubuntu), and Nextcloud Hydrogen for iOS 5.3.0.21.
When I attempt to display a text files (both *.txt and *.md) in the iOS app, all that I get is a blank white screen with a solid blue bar at the top of the screen.
When I display a text file using a browser, the *.txt files will display just fine, but not the *.md files. And once I tried displaying one *.md, attempting to display a 2nd *.md file hangs the browser session. I’ve tried it using both Firefox and Chrome browsers.
I’m guessing the problem is probably with more with Nextcloud than the iOS app.
By “hangs”, I mean when you click on the second .md file, I get the “spinning wait circle” and it just keeps spinning and spinning and spinning and nothing happens. The web pages showing the listing of the files is still displayed. And if I try clicking on anything else on the page, nothing happens.
It happens in both Firefox (versions 1115.9.1esr and 1115.11.0esr) and Chrome 109.0.5414.168.
As I was double checking for this email, attempting to display the 2nd .md file can cause the browser to display a “Bad Gateway” error and I needed to restart the web service by doing:
Further testing has also shown that some .md files actually do show. On the ones that seems to be causing problems do contain URLs. That may be be causing an issue. The files are okay on the disk as I can open them in nano.
I had some similar issue and I solved it by installing Markdown Editor. Keep in mind, it is not supported for your Nextcloud version, so test at your own risk. I tested it on both Nextcloud v28 and v29, and it did not break my installation, but be careful.
We recently upgraded from 25 to 29 and somehow lost the ability to edit .md files – they just download. Was this an intentional change or does it need to be re-enabled somewhere? I’d rather not install another editor when this used to work great.
# Either include it in the default mime.types list
# and include that list explicitly or add the file extension
# only for Nextcloud like below:
include mime.types;
types {
text/javascript mjs;
application/wasm wasm;
}
This also magically fixed the missing activity stream and notification settings.