files_mindmap icon indicating copy to clipboard operation
files_mindmap copied to clipboard

NC 29 Compatibility

Open mkrecek234 opened this issue 1 year ago • 18 comments

As this is by far the best mind map app for Nextcloud, and the most recent update to NC 29 makes it incompatible, this is just a call for help to get it working also on NC29.

Issue: Even though installed, it will not enable to create mindmap files, nor will file extensions of mindmaps be linked to this application in NC29.

If it helps in finding the bug: The app "Link Editor" https://github.com/te-online/files_linkeditor which associates URL link files and makes them editable worked out of the box without fixes for NC29.

mkrecek234 avatar May 08 '24 13:05 mkrecek234

@mkrecek234 Please check again your configuration. I have upgraded my NC to 29.0.0.19 and the Mind Map App works in the same way as with NC 28.x. I can create Mind Map ".km" files and work on them without any issue.

architectonio avatar May 08 '24 15:05 architectonio

@architectonio Thank you for the hint - however there is no way for me to make it work: I deleted and reinstalled, deactivated and re-activated - without any luck. I simply updated from latest NC28 to NC290.0.19 without errors.

@mkrecek234 Please check again your configuration. I have upgraded my NC to 29.0.0.19 and the Mind Map App works in the same way as with NC 28.x. I can create Mind Map ".km" files and work on them without any issue.

mkrecek234 avatar May 08 '24 16:05 mkrecek234

@mkrecek234 Are you sure you are using the right Mind Map archive file? Another try could be to selectively disable other apps. However, NC 29.0 has plenty of bugs (the top icon bar of my installation for instance, doesn't open all installed apps, giving the wrong link, but typing as url the same application works.

architectonio avatar May 09 '24 08:05 architectonio

I've just upgraded to 29.0.1 and also have the same issue. App disabled during install, so enabled after checking basis functions working. Clicking saved .km file simply downloads it. No rush, but it would be great to get this working again as I do find it useful from time to time.

Thanks

crazybadger avatar May 28 '24 20:05 crazybadger

This app is a real must have : we need colaborative mindmaping in a NC working context. I hope that one day a (team of) developer will focus on it. Such a pity.

Yann-974 avatar May 29 '24 10:05 Yann-974

I fully agree with @Yann-974. The app is very useful and since it increases the value of NC it should be included as core app in NC and consequently driven by the NC staff.

architectonio avatar May 29 '24 13:05 architectonio

I have been trying to put this off because I already have too many projects, but I will fork this on June 15th if I can get a backup maintainer. I will then start the process of asking NC to make the fork the official version. I don't currently maintain any NC apps, but I have submitted to a few.

admorgan avatar May 29 '24 13:05 admorgan

No comment from the author? @ACTom

kai-uwe-rommel avatar May 31 '24 07:05 kai-uwe-rommel

No comment from the author? @ACTom

Not much activity from @ACTom here... even in his blog nothing happens for months. I guess he is probably busy with other, more important and higher-priority things.

architectonio avatar May 31 '24 14:05 architectonio

Same here, would be great to support NC 29

paramazo avatar Jun 10 '24 13:06 paramazo

+1

w202mg avatar Jun 28 '24 12:06 w202mg

There is already a version in the ACTom:dev branch that works at least up to Nextcloud 30. You could use that. The only thing that unfortunately doesn't work (yet) is opening shared .km files: https://github.com/ACTom/files_mindmap/pull/190#issuecomment-1916783462 Otherwise, the mind maps can be edited perfectly. 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 ACTom/files_mindmap/pull/190 PR, so you can try it out on your server or follow the installation steps described below:

# Define the Nextcloud apps installation directory, change as needed:
NC_APPS_DIR='/var/www/nextcloud/apps'

# Check if the variable is set correctly:
echo "$NC_APPS_DIR"

If echo "$NC_APPS_DIR" shows that the variable is declared correctly, then simply copy the following code lines and paste them into the same terminal window where you declared "NC_APPS_DIR":

# Download the file into your working directory:
curl -o files_mindmap-0.0.30-190.tar.gz "https://global-social.net/s/xKqbRAxC/download?path=%2F&files=files_mindmap-0.0.30-190.tar.gz"

# Remove the old app:
sudo rm -r "$NC_APPS_DIR/files_mindmap"

# Unpack the new file in place:
sudo tar -xzvf "files_mindmap-0.0.30-190.tar.gz" -C "$NC_APPS_DIR"

# chown files to the right uid/gid:
sudo chown --reference "$NC_APPS_DIR/../lib/base.php" -R "$NC_APPS_DIR/files_mindmap"

Here are the key steps summarized:

  1. Set the installation directory: Ensure NC_APPS_DIR is set correctly.
  2. Download the file: Use curl to download the file.
  3. Remove the old directory: If the files_mindmap directory already exists, remove it.
  4. Unpack the new file: Extract the archive into the apps directory.
  5. Change the ownership: Make sure the extracted directory has the right owner (UID) and group (GID).

These steps should ensure the installation is carried out correctly.


Much and good luck, ernolf

ernolf avatar Jul 02 '24 11:07 ernolf

Thanks. i used your instructions and it worked.

Dylansob avatar Jul 02 '24 17:07 Dylansob

Can't apply to a snap install

Sicoval31 avatar Jul 03 '24 12:07 Sicoval31

Can't apply to a snap install

It should normaly work. You have to adapt the path to the writable directory where the "extra-apps" are stored.

so this should be the directory: NC_APPS_DIR=$SNAP_DATA_CURRENT/nextcloud/extra-apps (SNAP_DATA_CURRENT from your snap env.)

and the last line (chown) have to be changed of course but that is the easiest part :wink:


ernolf

ernolf avatar Jul 04 '24 10:07 ernolf

I have installed version mentioned by ernolf on Jul 2, and it works fine with Nextcloud 29.0.4.

Now I see in admin Overview: A new version is available: Nextcloud 29.0.5 1 app has no compatible version for this Nextcloud version available.

Apps missing compatible version Mind Map ↗

Should it work after upgrade of Nextcloud to 29.0.5? (I expect that Mind Map will be may be automatically disabled during that update, question is if it will work after I will manually enable it again)

tjirka-dcit avatar Aug 22 '24 14:08 tjirka-dcit

Yes it still works on 29.0.5

admorgan avatar Aug 22 '24 14:08 admorgan

Hi, I have used the 0.0.3-190-fix in NC 29.0.6... It works, but not so realy... :-/ I can create a new and edit a Mindmap, but I can't see the name in Files-App - the MM-File is there...

Mottek57 avatar Sep 11 '24 07:09 Mottek57

Works (edition, not shared files) with snap install present here (/var/snap/nextcloud/current/nextcloud/extra-apps)

Sicoval31 avatar Oct 10 '24 08:10 Sicoval31

Thanks for all the work and research here. Assuming this is known, can anyone outline what the steps are to get this or another working version of this app back into the NextCloud app store? What are the bottlenecks, where does it need help, and what sort of help is that?

wu-lee avatar Oct 25 '24 16:10 wu-lee

see https://github.com/ACTom/files_mindmap/issues/203

ACTom avatar Nov 28 '24 02:11 ACTom