Giter Site home page Giter Site logo

Comments (5)

wellenvogel avatar wellenvogel commented on July 26, 2024

Basically your issue is at the wrong repo.
It's an ocharts plugin issue...
https://github.com/wellenvogel/avnav-ocharts-provider
Anyway I try to answer:
(1) would be good to know what you updated and what went wrong.
(2) Which image/hardware do you run?
(3) Which charts did you try?
(4) From what you described I would guess that it could be a slow SD card. They tend to become slower after using them for longer times. If you run a top command during the upload it would probably show high waitio (wa).

If the upload/check is failing, the charts are removed to avoid dead files.
What you could try:
Unpack the zip directly in ~/avnav/data/ocharts/charts.
This should create a new subfolder.
Afterwards restart to reload the charts.
Have a look at ~/avnav/data/ocharts/provider.log for errors.

from avnav.

antonical avatar antonical commented on July 26, 2024

Hi Andreas,

Thanks for the response.

  1. I updated the full system from the command line, which brought the new avanv versions and plugin versions. I then checked inside avanv to see if there were any updates possible. My system was fully upto date. July 2023.
  2. Pi4 4GB and the server image.
  3. UK and near Europe, German Waters, and a bunch of Norway charts
  4. I can try a new card and image the old one onto it.

The issue seems to be after the upload has completed and the checking starts. The upload always goes to 100% then the popup dialog box then the timeout error then nothing.

Are you saying I could rsync the chart.zips to the ~/avnav/data/ocharts/charts directory and unpack them there? Then press the reload charts button and they should appear?

Not keen to have to go through that process again as it took days to load all of them from scratch, redownload the zips etc. The yacht has a 4g connection but not the fastest :(

Cheers

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

(1) - updating the whole system is always a chance for some issues (but not related to your problems) - nothing I would really recommend as we cannot test all the possible combinations(better use a newer image). For the AvNav stuff - just use the updater.
(2) Server Image means AvNav image - right?
Basically you can just copy the zip file to ~/avnav/data/ocharts/charts any way you want...
And then unpack it there (maybe just have a look at top - waitio...). Would be interesting to get the runtime of the unzip process.
Do the restart afterwards.
The only drawback is that the restart would be slowed down if you e.g. have the wrong key for the charts - this is normally checked immediately after upload.
Basically the process that runs after the upload reached 100% is the one with most IO (SD card) activity - int unpacks all the chart files from the zip.
Just keep the chart zip files somewhere (laptop?, usb-stick,...) this will also be a back up for you as you cannot download them any more if your license is expired - but you can still use them (and - if necessary- reinstall them).
If you still encounter problems - the provider.log would be helpful.

from avnav.

antonical avatar antonical commented on July 26, 2024

Thanks Andreas,

  1. Ok got it. We usually use the avnav updater screen anyway. But this pi had not been updated for a while.
  2. Yes I believe it came from the Current Image link on your page and was around 1GB
    Ok I get it now with the uploader.
    Good advice on the backup of the original downloads of the chart zips.

Will report any future issues on the plugin page,

Cheers

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

No further activity - so closing this.

from avnav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.