Why do this?
Since upgrading to Nextcloud 30.x, the Text app has become unstable. The main issue is with input methods for East Asian languages like Chinese, Japanese, and Korean. When using special symbols such as “: , ? .” etc., the app automatically inserts line breaks or the cursor disappears. This is highly disruptive and makes the app practically unusable. Additionally, every time a new line is added, a “holder” hint appears, which is quite annoying.
On the other hand, the Text app before version 29.11 seemed to work well, especially for work purposes where stability and efficiency are key.
So, here’s how you can downgrade:
Steps to Downgrade:
-
First, go to your Nextcloud installation directory and locate the
apps/text
directory. Backup all the files in this directory or move the entire folder to another location. But don’t delete it just yet—some files will be needed later. -
Go to the official Nextcloud changelog at https://nextcloud.com/changelog/, and download version 29.11. Once downloaded, find the
apps/text
directory. -
In your Nextcloud installation directory, navigate to the
apps
folder and create a newtext
directory. -
Copy all files except the lib directory and appinfo/info.xml from the downloaded 29.11 version apps/text directory to the root directory of the online nextcloud installation directory apps/text
location. -
Now, find the backup copy of the
text
directory from version 31.0.2 and copy theappinfo/info.xml
file into your live Nextcloud instance’sapps/text/appinfo
folder. Also, copy thelib
directory and all its contents into theapps/text
directory. -
If you’re using Nginx, restart PHP-FPM. If you’re using Apache, restart Apache. Then press
Ctrl + F5
(Windows) orCmd + R
(Mac) to refresh your browser, and open any Text app document. Now, the Text app should be downgraded to version 29.11.
Explanation:
In fact, the whole operation is very simple, that is, the appinfo/info.xml and lib directories in the text directory use the original files that come with nextcloud 31.0.2 text, and the others replace the files in the 29.11 text directory. This may be easier to understand.
Important Notes:
-
This process hasn’t been widely tested, and it’s based on my personal online testing. So far, I haven’t encountered any issues. However, it’s strongly recommended to back up your system before proceeding.
-
I haven’t used any caching systems like Redis or Memcache, so if you’re using these, you may need to restart those services as well.
-
I haven’t tested this on other versions. But in theory, it should work with both 30.x and 31.x. If you’re interested, feel free to try it out yourself. This downgrade was relatively easy because the communication method between the Text app and PHP hasn’t changed, only the API and communication between the Text app and Nextcloud have changed. Otherwise, it wouldn’t have been this easy to downgrade.
Report a known issue:
In the New menu, you cannot create a new text file, but you can create a new folder description to temporarily replace this option.