Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dont work after update nextcloud 17 #135

Open
letopisec3 opened this issue Oct 2, 2019 · 11 comments

Comments

@letopisec3
Copy link

@letopisec3 letopisec3 commented Oct 2, 2019

After updating to nextcloud 17, markdown stopped working. App text opens instead of makdown. Disabling app text does offer to download instead of editing

@aduarte9

This comment has been minimized.

Copy link

@aduarte9 aduarte9 commented Oct 9, 2019

Hi,
I'm having the same issue here. Does anyone know how to chose the default app for markdown files?
Tks

@squintarelli

This comment has been minimized.

Copy link

@squintarelli squintarelli commented Oct 11, 2019

the file created with the "+" command has a "," (comma) in the filename instead of a "." (period)

@Schmuuu

This comment has been minimized.

Copy link

@Schmuuu Schmuuu commented Oct 12, 2019

Hello everybody,

I just discovered the same issue and found out that on my system the app "Plain text editor" was missing after the update to NC17. This "Plain text editor" (named 'files_texteditor' in the apps folder on filesystem) is the basis for the files_markdown app.

Could you guys please check if you have the same problem with the missing base app? In that case we should open an issue in the other repository.

Just in case you see the exact same issue, here is how you can solve it with SSH access:

cd /path/to/nextcloud/apps
wget https://github.com/nextcloud/files_texteditor/archive/v17.0.0.tar.gz
tar -xzf v17.0.0.tar.gz
mv files_texteditor-17.0.0 files_texteditor
find files_texteditor/ -type f -print0 | xargs -0 chmod 640
find files_texteditor/ -type d -print0 | xargs -0 chmod 750
sudo chown -R <webserver user>:<webserver user> files_texteditor
rm v17.0.0.tar.gz

The reason I did this manually (and why I post my steps here) is, that I didn't find the app on my server as admin under "Apps" for download and also restoring that app folder from the backup and trying to update it then was not possible. So it seems these manual steps are the only way. Hope it helps.

@Schmuuu

This comment has been minimized.

Copy link

@Schmuuu Schmuuu commented Oct 12, 2019

Hello again,

I tried to find out a bit more about this issue and it seems the plain text app got somehow removed from the app store and consequently is no longer available for updates or downloads.

I created an issue in the other repo. So in case you want to follow that issue:
nextcloud/files_texteditor#185

@marsstark

This comment has been minimized.

Copy link

@marsstark marsstark commented Oct 13, 2019

Hi Schmuuu, thanks for the info. I followed the steps and it worked. Now I have Mardown Editor working again.

@henricazottes

This comment has been minimized.

Copy link

@henricazottes henricazottes commented Nov 6, 2019

I tried to follow those steps but unsuccessfully. I can see and enable the app in the ui but can't create (the option is missing from "+") nor edit files (it opens the download popup).

@Schmuuu is there anything else to do other than the steps listed ?

I'm on php 7.1, nextcloud 17, files_texteditor 2.9.0 (same one from the steps)

@Schmuuu

This comment has been minimized.

Copy link

@Schmuuu Schmuuu commented Nov 6, 2019

Hi @henricazottes

Maybe we should talk about your issue via PNs. Could you write me in the NC forum?
https://help.nextcloud.com/u/schmu

Please try and send the following:

  • try again after clearing browser cache
  • check if app "Markdown Editor" is enabled
  • send a screenshot from the open "+" Menu
  • a screenshot from the open "..." menu of a .txt file
  • a screenshot from the open "..." menu of a .md file
@henricazottes

This comment has been minimized.

Copy link

@henricazottes henricazottes commented Nov 6, 2019

Thanks for your guidelines, I managed to make it work by setting 644 and 755 permissions.

@BrookeDot

This comment has been minimized.

Copy link

@BrookeDot BrookeDot commented Nov 6, 2019

Could you guys please check if you have the same problem with the missing base app? In that case we should open an issue in the other repository.

It sounds like the root cause is indeed the missing plugin upstream. Has this been reported to the correct repo or should I do this? With NC 17.1 coming out in a bit I'm not sure it'll make it in time for that but maybe for 17.2 or 18 :)

@Schmuuu

This comment has been minimized.

Copy link

@Schmuuu Schmuuu commented Nov 7, 2019

It sounds like the root cause is indeed the missing plugin upstream. Has this been reported to the correct repo or should I do this? With NC 17.1 coming out in a bit I'm not sure it'll make it in time for that but maybe for 17.2 or 18 :)

Yes, I opened an issue for that already and it's a sad story actually:
nextcloud/files_texteditor#185 (comment)

You could support me in that thread however and add your concerns as well, if you want.

@clorenz150

This comment has been minimized.

Copy link

@clorenz150 clorenz150 commented Nov 10, 2019

I restored the files_texteditor folder from a backup an managed to enable it (min- adn max-version is 16).

Having all three enabled (text, files_texteditor and files_markdown) works, but not smooth.

You can "edit with the only text editor", which opens files_markdown, but text has some caching and recognizes changes, done by other apps, only when it tries to write changes. Then you can revert to the saved version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.