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

NC 28 compatibility #191

Open
Mer0me opened this issue Dec 17, 2023 · 43 comments · Fixed by #190
Open

NC 28 compatibility #191

Mer0me opened this issue Dec 17, 2023 · 43 comments · Fixed by #190

Comments

@Mer0me
Copy link

Mer0me commented Dec 17, 2023

The app seems to be incompatible with NC28. I cannot create new mind map and cannot open existent mind map, even if the app is installed and info.xml claim it is compatible with NC 28.

@les-les
Copy link

les-les commented Dec 17, 2023

same here NC 28.0.0

@artonge artonge mentioned this issue Dec 21, 2023
@artonge
Copy link

artonge commented Dec 21, 2023

Should be fixed by #190

@ChrWieg
Copy link

ChrWieg commented Dec 22, 2023

Unfortunately I have the same issue with NC 28.0.1

@bandarrex
Copy link

also I have the same issue with NC 28.0.1 😌

@admorgan
Copy link

I also have the same issue with NC 28.0.1

@Olib-48
Copy link

Olib-48 commented Jan 3, 2024

I also have the same issue with Nextcloud Hub 7 (NC 28.0.1)

@4001982248998
Copy link

May I take the liberty of asking how this fix can be applied to solve the problem?

@artonge
Copy link

artonge commented Jan 9, 2024

The PR need to be merged, and a release need to be published.
If you really need it now, you could clone the repo, build a new version, and copy the result in your app folder.

@les-les
Copy link

les-les commented Jan 21, 2024

anyone a kind of idea when this is gonna happen ?

sounds kind of fun to clone the repo build a new version and copy result to app folder
but no clue how to do this ..

;(

@xetyr
Copy link

xetyr commented Jan 22, 2024

Should be fixed by #190

Hey artonge, I download and copy paste your files on my files_mindmap directory, but I still can't open my .km files.
Logs show me the error "Could not find resource files_mindmap/js/files_mindmap-mindmap.js to load".
Indeed, the script is not called like that.

Did I missed something to use your repo ?

EDIT : I also tried to run the command "make" with your repo, but I obtained an error 127 while I can build it from master

@ernolf
Copy link

ernolf commented Jan 30, 2024

@les-les:

but no clue how to do this ..

@xetyr:

Did I missed something to use your repo ?

If you don't know how to check out, merge and build an app repo, than please come over to https://help.nextcloud.com/t/nc28-mindmap-km-files-not-working/176809/11?u=ernolf
I have created a build with the #190 PR, so you can try it out on your server.

ernolf

@xetyr
Copy link

xetyr commented Jan 31, 2024

@ernolf

Apparently I don't know how to do this haha. Your archive helped me, it's working now. Thank you so much !

@architectonio
Copy link

architectonio commented Jan 31, 2024

I can confirm, the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm!
Thank you very much @ernolf!

@dualizeo
Copy link

dualizeo commented Feb 5, 2024

Issue persist on 28.0.2 so removing it and reinstalling it doesn't work

@juventas
Copy link

juventas commented Feb 5, 2024

The patched version didn't work for me at first. After I had activated "Limit to groups", all group members were able to use Mind Map. I then deactivated it again and now it works for everyone again.

@doitux
Copy link

doitux commented Feb 7, 2024

I can confirm, the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm! Thank you very much @ernolf!

What happens if I add this patched tar.gz version and there is an updated version (0.0.31) from the NC appstore? Will an update work without problem? Or do i have to remove something manually?

@tjakober
Copy link

tjakober commented Feb 8, 2024

Same here: NC 28.0.2
The app can be installed, The symbol shows up beside a .kn file. However clicking on it just downloads the file,

@admorgan
Copy link

admorgan commented Feb 8, 2024

I can confirm, the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm! Thank you very much @ernolf!

What happens if I add this patched tar.gz version and there is an updated version (0.0.31) from the NC appstore? Will an update work without problem? Or do i have to remove something manually?

An updated 0.0.31 will update normally.

@whisky23
Copy link

Same here: NC 28.0.2 The app can be installed, The symbol shows up beside a .kn file. However clicking on it just downloads the file,

Hi, are there any news about it? I've got the same issue, although I have installed patch 0.0.30.190.

@alimnette
Copy link

I also have the same issue with NC 28.0.1

@ralfrupf1976
Copy link

Same issuie with NC 28.0.3

@michauk
Copy link

michauk commented Mar 25, 2024

Hi guys. I ended up quitting this idea of running this software anymore.
I installed a quick&dirty NC27 docker instance, put my 2 km files in it, extracted what I needed and I'll be done with this in a few days when I get everything I want from my km files.

This software seems abandonned, Right, I really can understand the dev has no free time anymore.

When I installed this new docker instance, even downloading the plugin went wrong, it tried to download a file on a strange server, not related to midmap nor nextcloud nor whatever serious.
Now I'm trying to find another solution, self-hosted if possible.
Anyway, thanks for the great job until then.

@Mer0me
Copy link
Author

Mer0me commented Mar 25, 2024

Hi guys. I ended up quitting this idea of running this software anymore. I installed a quick&dirty NC27 docker instance, put my 2 km files in it, extracted what I needed and I'll be done with this in a few days when I get everything I want from my km files.

This software seems abandonned, Right, I really can understand the dev has no free time anymore.

When I installed this new docker instance, even downloading the plugin went wrong, it tried to download a file on a strange server, not related to midmap nor nextcloud nor whatever serious. Now I'm trying to find another solution, self-hosted if possible. Anyway, thanks for the great job until then.

Same decision for me.
I think draw.io into Nextcloud is a good alternative. What do you think ?
No offense for the maintainers of files_mindmap, that was a great job !

@architectonio
Copy link

architectonio commented Mar 25, 2024

Here my two cents about the discussion hoping it will help.
There is no need to install a "NC 27" instance to recover/export the "km" files, since thanks to @ernolf the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm on "NC 28" (I am using it on my NC 28 instance with no noticeable issues)
In addition of this, there is a Desktop Tool to create/edit the "km" files. It works on Linux, Windows and Mac.
Just download, run it on your Workstation and modify offline all your "km" mindmaps.
The tool is DesktopNaoutu.
I work on my files both ways, from nextcloud and also with the local tool. (in the same way as I do with my draw.io diagrams).

@Mer0me
Copy link
Author

Mer0me commented Mar 25, 2024

Here my two cents about the discussion hoping it will help. There is no need to install a "NC 27" instance to recover/export the "km" files, since thanks to @ernolf the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm on "NC 28" (I am using it on my NC 28 instance with no noticeable issues) In addition of this, there is a Desktop Tool to create/edit the "km" files. It works on Linux, Windows and Mac. Just download, run it on your Workstation and modify offline all your "km" mindmaps. The tool is DesktopNaoutu. I work on my files both ways, from nextcloud and also with the local tool. (in the same way as I do with my draw.io diagrams).

Does the unofficial patch work for link shared maps ? This is the missing point for me.

@tjakober
Copy link

tjakober commented Mar 25, 2024

Yes I can confirm this. I replaced the folder "nextcloud\config\www\nextcloud\apps\files_mindmap" with the folder "files_mindmap" of the mentioned archive "files_mindmap-0.0.30.190.tar.gz". Then it worked all again like in the previous Nextcloud versions.

@architectonio
Copy link

Here my two cents about the discussion hoping it will help. There is no need to install a "NC 27" instance to recover/export the "km" files, since thanks to @ernolf the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm on "NC 28" (I am using it on my NC 28 instance with no noticeable issues) In addition of this, there is a Desktop Tool to create/edit the "km" files. It works on Linux, Windows and Mac. Just download, run it on your Workstation and modify offline all your "km" mindmaps. The tool is DesktopNaoutu. I work on my files both ways, from nextcloud and also with the local tool. (in the same way as I do with my draw.io diagrams).

Does the unofficial patch work for link shared maps ? This is the missing point for me.

A "Shared Link" downloads the file
However sharing the file with other users works

@michauk
Copy link

michauk commented Mar 25, 2024

Here my two cents about the discussion hoping it will help. There is no need to install a "NC 27" instance to recover/export the "km" files, since thanks to @ernolf the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm on "NC 28" (I am using it on my NC 28 instance with no noticeable issues) In addition of this, there is a Desktop Tool to create/edit the "km" files. It works on Linux, Windows and Mac. Just download, run it on your Workstation and modify offline all your "km" mindmaps. The tool is DesktopNaoutu. I work on my files both ways, from nextcloud and also with the local tool. (in the same way as I do with my draw.io diagrams).

Nice suggestion. But inaotu.org says "latest gthub release" in 2019. I won't move to another end-of-life desktop solution. Anyway, as a temporary solution to get my km content, it may be easier than a whole nextcloud instance.

No matter the hotfix, shared km can't be opened. 6 months with no real solution, it's way time to move.
Regards

@architectonio
Copy link

Here my two cents about the discussion hoping it will help. There is no need to install a "NC 27" instance to recover/export the "km" files, since thanks to @ernolf the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm on "NC 28" (I am using it on my NC 28 instance with no noticeable issues) In addition of this, there is a Desktop Tool to create/edit the "km" files. It works on Linux, Windows and Mac. Just download, run it on your Workstation and modify offline all your "km" mindmaps. The tool is DesktopNaoutu. I work on my files both ways, from nextcloud and also with the local tool. (in the same way as I do with my draw.io diagrams).

Nice suggestion. But inaotu.org says "latest gthub release" in 2019. I won't move to another end-of-life desktop solution. Anyway, as a temporary solution to get my km content, it may be easier than a whole nextcloud instance.

No matter the hotfix, shared km can't be opened. 6 months with no real solution, it's way time to move. Regards

I fully understand your standpoint.
Ill still wait a while, since I have a lot of km files and unfortunately, at this time, there is no working alternative on nextcloud. The same is for DesktopNaoutu, the 2019 version works well on all my Linux and Windows workstations.
Best regards

@ER-EPR
Copy link

ER-EPR commented Apr 7, 2024

When will this NC28 fix be pushed to the store?

@micker
Copy link

micker commented Apr 11, 2024

same return here 28.0.4

@priolumi
Copy link

I (and probably the whole world) wait desperately and drumming my fingers for the solution. I've been looking for an alternative and can't find anything.
mee_too_proc

@dualizeo
Copy link

dualizeo commented Apr 12, 2024

Perhaps if we can all pitch in some money to hire an offshore developer to fix it? it's php so it shouldn't be a problem

I also tried WiseMapping on docker but it's too simple, For now I'm still on Nextcloud 27.1.8 since it still works fine.
Also if you use Obsidian canvas mind mapping it works nice for mapping similar to this app

@Mer0me
Copy link
Author

Mer0me commented Apr 12, 2024

Have you tried draw.io app on Nextcloud ? It can do mind maps and many other things.

@architectonio
Copy link

again, thanks to @ernolf the archive "files_mindmap-0.0.30.190.tar.gz" works like a charm on "NC 28" (I am using it on my NC 28 instance with no noticeable issues).
In addition of this, there is a Desktop Tool to create/edit the "km" files. It works on Linux, Windows and Mac.
Just download, run it on your Workstation and modify offline all your "km" mindmaps.
The tool is DesktopNaotu.
I work on my files in both ways, from nextcloud and also with the local tool. (in the same way as I do with my draw.io diagrams).

@priolumi
Copy link

priolumi commented Apr 12, 2024

draw.io can't load km files and there are providers that can't darte to install anything besides the nextcloud app store. (obviuos)
Thanks for mentioning the DektopNaotu (https://github.com/NaoTu/DesktopNaotu) , that could be a viable solution for now and me.
😁

@Mer0me
Copy link
Author

Mer0me commented Apr 12, 2024

draw.io is on the nextcloud app store : https://apps.nextcloud.com/apps/drawio
It cannot open km files, but I believe it's a very confidential file format.

@grinapo
Copy link

grinapo commented Apr 12, 2024

Have you tried draw.io app on Nextcloud ? It can do mind maps and many other things.

No it cannot. It is a drawing application and what you draw is fixed.
The point of mindmapping apps is that you only define hierarchy and the display and organisation is handled by the app. Also they offer mindmap oriented functions like prune/graft (aka move/re-attach), reorder, open/close subtree, and various metadata handling.

It is possible to use drawio to create a static drawing and call it a mindmap, and also record metadata which is there but neither displayed nor handled, that's probably all about it.

Also it's been said (#191 (comment)) that there is already a working version of mindmap, it's just not merged and published.

@Mer0me
Copy link
Author

Mer0me commented Apr 12, 2024

@grinapo ok, I see what you expect from a mind map tool that I do not. Automatic display and organization of the map by the app is precisely a problem for me.
The working version can not display shared map without downloading it, and that is another problem for me.

@dualizeo
Copy link

dualizeo commented May 2, 2024

Yay 🙌 I can confirm the Forum fix worked!!! It Worked on 28.0.3!! I can open my mindmaps now the latest NextCloud 😃!
from the forum admin ernolf and confirmed steps from fanThomas

Tutorial
For Easy Instructions follow my tutorial but you need root access to your server:
( Do a backup just in case) or a snapshot if your on a vm

  1. Open your browser and login to your NextCloud account and make a folder in files called mindmapapp

  2. Download the files_mindmap-0.0.30.190.tar that ernolf provided from his link in the forum https://help.nextcloud.com/t/nc28-mindmap-km-files-not-working/176809/11?u=hewwo

  3. From your browser now drag the file so you can Upload it to your mindmapapp folder you created

  4. Now connect to your nextcloud server via ssh for example root@your-ip-address ( if your logged in as different user then do sudo -i ( to swap over as root ) and it will ask you to enter your password, the same one you used to log in

  5. Now before you proceed to copy the file and extract it in the nextcloud apps folder, confirm your apps directory by going into the directory which might be: cd /var/www/nextcloud/apps or it might be /var/www/html/nextcloud/apps

  6. Cool, now find the directory where your Users reside, for me it's cd /mnt/ncdata/ and type ls to see users folders, If you don't see try the following places: ( and you you can start by typing cd /var/www/ Other places are:
    /var/www/nextcloud/data/your-user-name/files/mindmapapp
    Or /var/snap/nextcloud/common/nextcloud/data/your-user-name/files/mindmapapp

Now go to into /your-user-name/files/mindmapapp folder where the file was uploaded
So you can type ls to show the current directory your in, or type cd .. to go back into the directory then type ls again to see where you are at,

  1. Cool, now go back to your mindmapp directory in copy files_mindmap-0.0.30.190.tar by doing command: cp files_mindmap-0.0.30.190.tar /var/www/nextcloud/apps

  2. And now go to the directory you copied the file which is cd /var/www/nextcloud/apps and type ls to confirm you see files_mindmap-0.0.30.190.tar.gz So now extract the file by doing tar -xvzf files_mindmap-0.0.30.190.tar.gz hit tab on windows so it auto fills the file name Or Manually type it Lol

  3. Now go back to your Nextcloud and Test it out! 😊 see if your mindmaps open inside Nextcloud!
    feel free to go back to your created folder and delete the mindmapapp folder and remove the files_mindmap-0.0.30.190.tar.gz and also remove it from cd /var/www/nextcloud/apps rm files_mindmap-0.0.30.190.tar.gz

  4. Last step is your still inside the apps folder, You have to make Nextcloud the owner of the app in cd /var/www/nextcloud/apps directory and type ls -l it will show all apps and the permission rights, as you can see files_mindmap might be owned by root, so instead it needs to be owned by www-data so type
    chown -R www-data:www-data /var/www/nextcloud/apps/files_mindmap/ JUST Make sure that is your apps directory
    do it's based on this forum link

Can someone fork it so they can submit it to the App store so we can 1 click in stall it? OR Post in the Forum like I did so it will be noticed and someone can do it from NextCloud

I also made sure I scanned it for viruses see image below
VirusScan to be safe:
scan

@architectonio
Copy link

Good Job @dualizeo!
It also works on NextCloud 28.0.5

@tjakober
Copy link

tjakober commented May 2, 2024 via email

@HanSolo361
Copy link

Thanks a lot @dualizeo for the clear tutorial and all the previous contributors!!!

I also had to fix the .mjs handling on my nginx server, as mentioned here, which I had been overseeing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.