This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Garmin Express no longer syncing to garmin connect

Former Member
Former Member
I've been using an edge 800 with garmin express for some time without issue.

I've never deleted old activities, it just syncs from edge -> mac -> garmin connect.

Recently, garmin express has stopped uploading to Garmin connect.

Steps I've taken so far:
  • Deleted all old activities files from /Volumes/GARMINSD/Garmin/Activities except the 4 that haven't uploaded
  • Removed the device from garmin connect and reassociated the device
  • Rebooted the mac


If I restore old logs for ~/Library/Application/Support/Garmin/Express/Logs/Service*, I can see a good sync looks like this:

[FONT=Courier New]
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for upload files
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_4
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_9
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] File to transfer Garmin/Weight/Weight.fit -> Weight.fit (type Garmin/Weight)
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type GPSData
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FitnessHistory
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_28
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_32
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_35
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type ErrorShutdownReports
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_4
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] File to transfer Garmin/Activities/2015-08-04-19-43-05.fit -> 2015-08-04-19-43-05.fit (type Garmin/Activities)
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_9
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type GPSData
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FitnessHistory
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_28
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_32
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_35
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Looking for files for data type ErrorShutdownReports
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Changed to [Copying] phase.
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | Starting transfer to [/Users/teasdep/Library/Application Support/Garmin/Express/RegisteredDevices/3848177726/PendingSyncUploads/Garmin/Weight/Weight.fit] from [/Volumes/GARMIN/Garmin/Weight/Weight.fit].
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | Finished transfer to [/Users/teasdep/Library/Application Support/Garmin/Express/RegisteredDevices/3848177726/PendingSyncUploads/Garmin/Weight/Weight.fit] from [/Volumes/GARMIN/Garmin/Weight/Weight.fit].
2015-08-04 22.01.49 (GMT+01:00) | 39427 | I | Starting transfer to [/Users/teasdep/Library/Application Support/Garmin/Express/RegisteredDevices/3848177726/PendingSyncUploads/Garmin/Activities/2015-08-04-19-43-05.fit] from [/Volumes/GARMINSD/Garmin/Activities/2015-08-04-19-43-05.fit].
2015-08-04 22.01.51 (GMT+01:00) | 39427 | I | Finished transfer to [/Users/teasdep/Library/Application Support/Garmin/Express/RegisteredDevices/3848177726/PendingSyncUploads/Garmin/Activities/2015-08-04-19-43-05.fit] from [/Volumes/GARMINSD/Garmin/Activities/2015-08-04-19-43-05.fit].
2015-08-04 22.01.51 (GMT+01:00) | 39427 | I | [SyncUpload-3848177726] Changed to [Finalizing] phase.[/FONT]

If I look at today's service log, it doesn't pick anything up for FIT_TYPE_4:

[FONT=Courier New]2015-08-23 21.22.56 (GMT+01:00) | 1799 | I | Volume mounted: file:///Volumes/GARMINSD/
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for upload files
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_4
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_9
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] File to transfer Garmin/Weight/Weight.fit -> Weight.fit (type Garmin/Weight)
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type GPSData
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FitnessHistory
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_28
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_32
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_35
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type ErrorShutdownReports
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_4
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_9
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type GPSData
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FitnessHistory
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_28
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_32
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type FIT_TYPE_35
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Looking for files for data type ErrorShutdownReports
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Changed to [Copying] phase.
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | Starting transfer to [/Users/teasdep/Library/Application Support/Garmin/Express/RegisteredDevices/3848177726/PendingSyncUploads/Garmin/Weight/Weight.fit] from [/Volumes/GARMIN/Garmin/Weight/Weight.fit].
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | Finished transfer to [/Users/teasdep/Library/Application Support/Garmin/Express/RegisteredDevices/3848177726/PendingSyncUploads/Garmin/Weight/Weight.fit] from [/Volumes/GARMIN/Garmin/Weight/Weight.fit].
2015-08-23 21.22.56 (GMT+01:00) | 62079 | I | [SyncUpload-3848177726] Changed to [Finalizing] phase.
[/FONT]

if I look on the SD card, I can see all the acitvities that have yet to sync to garmin connect (i've already removed older .fit files)

[FONT=Courier New]$ find /Volumes/GARMIN*/Garm*/Ac* -type f
/Volumes/GARMINSD/Garmin/Activities/2015-08-04-19-43-05.fit
/Volumes/GARMINSD/Garmin/Activities/2015-08-05-19-07-57.fit
/Volumes/GARMINSD/Garmin/Activities/2015-08-23-18-20-47.fit
/Volumes/GARMINSD/Garmin/Activities/2015-08-12-10-11-05.fit[/FONT]

Any ideas on how to nudge garmin express to rescan these files and upload everything?

Regards

Paul
  • teasdep

    I am sorry for the troubles. The SD card mounts slightly after the Edge does when connected to the Mac. Express recognizes the Edge and immediately starts the sync process. The SD card takes slightly longer so the sync process is already running when the SD card mounts and it is skipped. This is a known issue and should be resolved in a future update to Express. In order to get the Activities on the SD card to sync you will need to quit and restart Garmin Express after the Edge and SD card show up in Finder.

    To Quit Express
    1. Click the black triangle in the menu bar and choose Quit
    2. Choose Quit again to stop the Service
    3. Open Express again from the Applications folder

    Garmin Express should open and check both the Edge and the SD card for activities to update to Connect.
    Curt
  • Former Member
    0 Former Member over 9 years ago
    Garmin Express no longer syncing to garmin connect (solved and workaround found)

    For anyone hitting the same problem and happy with command line workarounds, this can be remediated via a script running in cron every minute:

    Copy the following script into ~/garmin.prodder and make it executable:

    #!/bin/sh
    IAM=`basename $0`
    PIDS="/var/tmp/${IAM}.$$"
    SDMOUNT="GARMINSD"
    RUNALREADY=/tmp/dontprodgarmin


    # Quit of more than 1 process is running or if the SD card isn't mounted
    ps -ef | grep -v grep | grep "sh.*${IAM}" | wc -l | sed -e 's/ //g' | egrep -q '^1$'
    if [ $? -ne 0 ]; then
    #echo "More than one copy of ${IAM} running - quitting"
    exit 2
    fi

    df -kP /Volumes/${SDMOUNT} > /dev/null 2>&1
    if [ $? -eq 0 ]; then
    if [ -r ${RUNALREADY} ]; then
    #echo "Garmin Express has been restarted since ${SDMOUNT} was last mounted - no work needed"
    exit 3
    else
    # SD card mounted, Restart Garmin Express if it's running
    rm -f ${PIDS} 2>/dev/null
    ps -ef | grep -v grep | grep 'Garmin Express' | awk '{print $2}' > ${PIDS}
    if [ -s ${PIDS} ]; then
    echo "Shutting down Garmin Express"
    for SIGNAL in 15 9
    do
    for PID in `cat $PIDS`
    do
    kill -0 ${PID} > /dev/null 2>&1 || continue
    echo "Killing ${PID} with -${SIGNAL}"
    kill -${SIGNAL} ${PID}
    sleep 10
    done
    done
    rm ${PIDS} > /dev/null 2>&1
    echo "Restarting Garmin Express after shutdown"
    open "/Applications/Garmin Express.app/"
    fi
    # Either we've restarted GE or it wasn't running -
    # either way don't check again until the SD card is
    # next remounted
    touch ${RUNALREADY}
    fi
    else
    if [ -r ${RUNALREADY} ]; then
    rm -f ${RUNALREADY} > /dev/null 2>&1
    fi
    fi


    Once this is done, run crontab -e and add the following at the bottom of the file:

    [FONT=Courier New]* * * * * ./garmin.prodder[/FONT]

    This script will bounce Garmin Express as soon as the SD card is mounted.