maps icon indicating copy to clipboard operation
maps copied to clipboard

Tracks from files not automatically scanned/imported

Open dkaparis opened this issue 5 years ago • 11 comments

Running Maps 0.1.6 on NC 18.0.4

Newly created track files are not automatically added under "Your tracks"

Running occ maps:scan-tracks manually adds the missing tracks in the app. The command always lists all track files found in user's files as 'added', event those that were already present in the app.

Background jobs are correctly configured using system's cron and verified in settings to run regularly.

dkaparis avatar Jun 03 '20 11:06 dkaparis

Are your tracks in groupfolders, external storage or in shared folders? Just to get some information, which might be usefull.

tacruc avatar Jun 03 '20 12:06 tacruc

I have an external storage folder for the user, but there are no tracks there. Tracks are stored in a regular, unshared folder under files root.

dkaparis avatar Jun 03 '20 13:06 dkaparis

@eneiluj do you have any idea? Do we need to scan for track files with events like images or is a search, like I did for the .maps files in https://github.com/nextcloud/maps/pull/386/files#diff-e3d851decbeb7f244ec9c88af393dada line 67 getAllMaps sufficient? This would reduce code complexity alot.

tacruc avatar Jun 03 '20 13:06 tacruc

Got the same issue. Have to execute the command by myself. The tracks are stored in a shared folder. I do not use external storage.

khlschrnk avatar Aug 22 '20 20:08 khlschrnk

Same issue with nc 20.0.2 and maps 0.1.8 gpx files in my instant upload directory.not in external storage. How can I see the background job log of maps ?

tclavier avatar Nov 29 '20 03:11 tclavier

Nexcloud 20.0.5 maps 0.1.9 still can't see gpx files

Mrgove10 avatar Sep 12 '21 18:09 Mrgove10

Same issue with Nextcloud 22.0.0 and Maps 0.1.9 on Ubuntu 20.04 Nextcloud cron.php runs fine every 5 minutes via systemd service and timer. But new gpx tracks only appear in Maps once I have run a manual "./occ maps:scan-tracks"

antoineguichard avatar Nov 19 '21 15:11 antoineguichard

Can confirm, most tracks were not added automatically. Only one quite recent one that I ceated via OSMAnd, but as favorites export only. Other (longer/both newer and older and "real" gpx tracks, partially from other apps like GPSLogger on Android) were only added after manually executing maps:scan-tracks.

It is a shared folder, but

  • the one track that was actually automatically added is uploaded by myself as the share owner
  • the other ones that were only added after manually scanning were uploaded by a share "taker", i.e. another user (on the same NC instance though)

Both were uploaded to the some shared folder, though different ones/different (sub)direcories. Both users correctly see/had their GPX tracks imported then.

NC 25; Maps v1.0.2

rugk avatar Apr 20 '23 21:04 rugk

Same issue with NC 27.0.1 and Maps 1.1.0

louim-lbs avatar Jul 20 '23 17:07 louim-lbs

Same issue with NC 27.1.3 and maps 1.1.1

wenzler avatar Nov 05 '23 13:11 wenzler

Same, never been loading any tracks with NC 27 and 28 at least. GpxPod sees them all.

regs01 avatar Mar 12 '24 22:03 regs01