ACTom / files_mindmap

This application enables Nextcloud users to open, save and edit mind map files in the web browser.
GNU Affero General Public License v3.0
174 stars 48 forks source link

NC 28 compatibility #191

Open Mer0me opened 9 months ago

Mer0me commented 9 months ago

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 commented 9 months ago

same here NC 28.0.0

artonge commented 9 months ago

Should be fixed by https://github.com/ACTom/files_mindmap/pull/190

ChrWieg commented 9 months ago

Unfortunately I have the same issue with NC 28.0.1

bandarrex commented 9 months ago

also I have the same issue with NC 28.0.1 😌

admorgan commented 9 months ago

I also have the same issue with NC 28.0.1

Olib-48 commented 9 months ago

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

4001982248998 commented 9 months ago

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

artonge commented 9 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

@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 commented 8 months ago

@ernolf

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

architectonio commented 8 months ago

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

dualizeo commented 8 months ago

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

juventas commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 7 months ago

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 commented 6 months ago

I also have the same issue with NC 28.0.1

ralfrupf1976 commented 6 months ago

Same issuie with NC 28.0.3

michauk commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

When will this NC28 fix be pushed to the store?

micker commented 5 months ago

same return here 28.0.4

priolumi commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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

architectonio commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 (https://github.com/ACTom/files_mindmap/issues/191#issuecomment-2051094686) that there is already a working version of mindmap, it's just not merged and published.

Mer0me commented 5 months ago

@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 commented 5 months ago

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 (HIT TAB on windows) so it auto fills the file name Or Manually type it Lol

  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

  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 commented 5 months ago

Good Job @dualizeo! It also works on NextCloud 28.0.5

tjakober commented 5 months ago

And it works still in NextCloud 29!

Thaks alot.

architectonio @.***> schrieb am Do. 2. Mai 2024 um 19:55:

Good Job @dualizeo https://github.com/dualizeo! It also works on NextCloud 28.0.5

— Reply to this email directly, view it on GitHub https://github.com/ACTom/files_mindmap/issues/191#issuecomment-2091173703, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUNXQVM65MYPGWHPXDZST3ZAJ427AVCNFSM6AAAAABAYHOT6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRGE3TGNZQGM . You are receiving this because you commented.Message ID: @.***>

HanSolo361 commented 5 months ago

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.

nokia001 commented 3 months ago

It still not working. Only Download. NC 28.0.6 NC 29.0.2

mementomori74 commented 3 months ago

is there an update in the works?

ernolf commented 3 months ago

Tutorial

The easy way: https://github.com/ACTom/files_mindmap/issues/197#issuecomment-2202831303

prcleary commented 3 weeks ago

another happy customer - didn't think it had worked for me (nextcloud:28.0.1 Docker container with Caprover) but then I noticed I hadn't re-enabled the app - thanks @ernolf