GithubHelp home page GithubHelp logo

wrong paths / urls about panamax HOT 7 CLOSED

panamax-rs avatar panamax-rs commented on July 28, 2024
wrong paths / urls

from panamax.

Comments (7)

k3d3 avatar k3d3 commented on July 28, 2024

The nginx rewrite rules have been more or less deprecated by the serve command, however if this is affecting both then it's likely not the culprit. It sounds like you might just be missing packages, caused by an earlier bugfix that changed the layout of the 3 directory.

First, make sure you're running the latest Panamax (right now, 1.0.12). If you're not sure, then fully uninstall and reinstall it just in case.

Then, try running panamax verify. That should check for missing files and ask for you to download them.

If the verify command doesn't work, delete the crates.io-index directory and try running panamax sync again.

If that doesn't work, then you might need to completely delete the mirror directory and rebuild it from scratch (i.e. run panamax init on a new directory).

Hope that helps!

from panamax.

panzerballett avatar panzerballett commented on July 28, 2024

panamax is the latest version:

$ cargo install --list
panamax v1.0.12:
    panamax

panamax verify did indeed download tons of crates.

am running panamax sync now.

i really try to avoid starting fresh...

will report back next week. thanks a lot for your help!

from panamax.

panzerballett avatar panzerballett commented on July 28, 2024

panamax verify seems to have resolved all the issues! thanks a lot!
i am still using nginx with no rewrite rules.
i am automatically syncing my mirror every night. would id be a good idea to run panamax verify non-interactively after panamax sync?

from panamax.

k3d3 avatar k3d3 commented on July 28, 2024

It's probably not necessary. I'd only run it after changing configuration or updating Panamax itself, however for peace of mind, it might not be a bad idea to run it e.g. once a week or something.

from panamax.

panzerballett avatar panzerballett commented on July 28, 2024

ok. thanks for that!

it still seems that i have duplicates in my mirror (e.g. the example above with 3/x/ and ``3/x??). is there a way to get rid of those (without having to start over)?

from panamax.

k3d3 avatar k3d3 commented on July 28, 2024

I think you should just be able to delete 3/x?? (since that's the invalid one) and you should be good. Alternatively, delete both of those directories and rerun verify.

from panamax.

panzerballett avatar panzerballett commented on July 28, 2024

great, thanks again!

i guess that closes the issue.

from panamax.

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.