Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-09-2025, 00:09   #1
Registered User

Join Date: Sep 2025
Posts: 7
Loss of all setup information (charts, groups, tracks)

I started opencpn after a month (having opened it daily for the previous 3 months) and no charts, chart groups or tracks appear - i.e. only the base world map.

I can rebuild the chart groups etc. if necessary, but unfortunately I did not make a .gpx of the last couple of season's tracks so cannot reload them.

I've tried renaming an old (and apparently complete) navobj.xml file but that does not solve the problem.

Any ideas would be most welcome.

(I'm using V5.8.4-0 )
RodgerG is offline   Reply With Quote
Old 29-09-2025, 09:29   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,435
Images: 2
Re: Loss of all setup information (charts, groups, tracks)

OS please?


I wouldn't use 5.8.4, but perhaps you want to continue with that or at least 5.10 and get your navobj.xml working.


5.12.0 converts navobj.xml to a navobj.db.


You may already have a navobj.db (ACTUALLY IF USING 5.8.4 YOU WON'T)
Possibly try renaming it and then make sure there is a navobj.xml so it can be converted.
Alternatively remove 5.12.0-4 (you should be using 5.12.4 release!!!!) and try it again.
rgleason is offline   Reply With Quote
Old 30-09-2025, 00:48   #3
Registered User

Join Date: Sep 2025
Posts: 7
Re: Loss of all setup information (charts, groups, tracks)

Thanks very much for the suggestions.

I'll have a go in the coming days and let you know how it goes.

Cheers
RodgerG is offline   Reply With Quote
Old 30-09-2025, 02:41   #4
Registered User

Join Date: Sep 2025
Posts: 7
Re: Loss of all setup information (charts, groups, tracks)

OS= windows 10

I've installed 5.12.4 and set up all the charts, groups etc. but no luck getting the tracks.

Tried renaming the .db, making sure the "complete" navobj.xml was named as such and relaunched, but didn't work.

I read elsewhere that the .xml can be renamed .gpx and imported via the route and track manager but that didn't work either.

I'm wondering if my "complete" navobj.xml is somehow corrupted. Is this likely/possible?

Incidentally, it is 25,658k - presumably within acceptable size limits?
RodgerG is offline   Reply With Quote
Old 30-09-2025, 02:52   #5
Registered User

Join Date: Jul 2025
Posts: 130
Re: Loss of all setup information (charts, groups, tracks)

Quote:
Originally Posted by RodgerG View Post
Tried renaming the .db, making sure the "complete" navobj.xml was named as such and relaunched, but didn't work.
you cannot rename navobj.xml to navobj.db and expect it will work.

a .xml file is a formated "text" file you can open and read with a notepad.
the navobj.db is a Sql Lite database needing at least a db browser to look data.
Lady_C is online now   Reply With Quote
Old 01-10-2025, 16:44   #6
Registered User

Join Date: Sep 2025
Posts: 7
Re: Loss of all setup information (charts, groups, tracks)

Quote:
Originally Posted by Lady_C View Post
you cannot rename navobj.xml to navobj.db and expect it will work.

a .xml file is a formated "text" file you can open and read with a notepad.
the navobj.db is a Sql Lite database needing at least a db browser to look data.
Sorry, I was a bit unclear here.

I renamed the default/initial navobj.db file so there wasn't a .db file on start up - just an .xml file. My (possibly incorrect) understanding was that the new version of opencpn would look for a navobj.xml and convert it to produce a navobj.db,

Do you know of a tool that could take my "complete" .xml file and convert it to a .gpx that I could load manually via "routes and tracks" ?

Cheers
RodgerG is offline   Reply With Quote
Old 05-10-2025, 16:10   #7
Registered User

Join Date: Mar 2011
Posts: 1,026
Re: Loss of all setup information (charts, groups, tracks)

Quote:
Do you know of a tool that could take my "complete" .xml file and convert it to a .gpx that I could load manually via "routes and tracks"
OpenCPN.

The navobj.xml files are GPX files. You should be able to import them using the Route & Mark Manager.
stevead is offline   Reply With Quote
Old 05-10-2025, 16:45   #8
Registered User

Join Date: Sep 2025
Posts: 7
Re: Loss of all setup information (charts, groups, tracks)

Quote:
Originally Posted by stevead View Post
OpenCPN.

The navobj.xml files are GPX files. You should be able to import them using the Route & Mark Manager.
I have tried that in two ways - changing the .xml extension to.gpx so it appears in the default importing, and also using the "all files" option to browse for the file to import as an .xml.

Neither worked.

Is it possible that either:
- the file is too large (at 25,658kb) or
- the file is somehow corrupted?
RodgerG is offline   Reply With Quote
Old 06-10-2025, 01:49   #9
Registered User

Join Date: Mar 2011
Posts: 1,026
Re: Loss of all setup information (charts, groups, tracks)

Quote:
Is it possible that either:
- the file is too large (at 25,658kb) or
- the file is somehow corrupted?
Yes.

I have no idea if there is a size limit for importing GPX files.

IIRC, if the file is corrupted there are no error messages logged. You can use an online XML syntax tool to verify the file integrity however your file may be too large for those tools. I described this in another post

You could also upload the file somewhere and post a link to the file and hope that someone examines it.
stevead is offline   Reply With Quote
Old 06-10-2025, 13:39   #10
Registered User

Join Date: Sep 2025
Posts: 7
Re: Loss of all setup information (charts, groups, tracks)

Thanks.

I'll explore those options.

Cheers.
RodgerG is offline   Reply With Quote
Old 11-10-2025, 05:00   #11
Registered User

Join Date: Mar 2011
Posts: 1,026
Re: Loss of all setup information (charts, groups, tracks)

Another thought inspired by Hakan's post in another thread. I'm not sure whether this behaviour is by design or a useful unintended consequence

If there is a valid navobj.xml file present in the OpenCPN data directory, when OpenCPN starts it will import the routes, waypoints & tracks into the the navobj.db database. The navobj.xml file will be automatically deleted after the import.

For example if you have archived the navobj.xml file every year (eg. navobj.xml.2020, navobj.xml.2021, navobj.xml.2022....) you could sequentially import each year's archive. Note that this may result in duplicates if you have "recreated" the same routes, waypoints and tracks rather then exporting/importing them or reusing the previous navobj.xml file.

Eg. Assuming Windows
Code:
copy d:\backup\navobj.xml.2020 c:\programdata\opencpn\navobj.xml
Start OpenCPN and it will import the "old" xml file into the database and then delete it. Close OpenCPN
Code:
copy d:\backup\navobj.xml.2021 c:\programdata\opencpn\navobj.xml
Start OpenCPN and it will import the "old" xml file into the database and then delete it. Close OpenCPN

Rinse and repeat.
stevead is offline   Reply With Quote
Old 11-10-2025, 14:54   #12
Registered User

Join Date: Sep 2025
Posts: 7
Re: Loss of all setup information (charts, groups, tracks)

Thanks again for the suggestions.

I've recovered up to 2022 so far - the last time I properly backed up. Stupidly I have not backed up for the last few years - hence the very large file.

Once I get my head around the correct format/syntax , I will split off the already recovered data from the "latest" file which hopefully will bring it down to a manageable size.
I will probably just split the large file into annual runs which is how I should have saved it in the first place......!

Thanks again - it looks doable for sure, I just need some clear time to sit down and split the very large file, ensure it's syntax is correct and, as you say, "rinse and repeat"
RodgerG is offline   Reply With Quote
Reply

Tags
charts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charts in some chart groups not showing??? lucseawalker OpenCPN 16 14-06-2025 03:00
Loss of Tracks and Routes Android Tablet PhilC OpenCPN 11 16-05-2025 10:47
ICW Tracks - Bob423 ICW Tracks and Routes rgleason OpenCPN 1 31-12-2024 06:11
All Waypoints and Tracks Gone in Open CPN. mestrezat OpenCPN 39 29-05-2016 11:44
Setup recommendation for PV/Turbine/Alt setup johol Electrical: Batteries, Generators & Solar 0 05-08-2014 23:36

  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 12:31.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.