Comments (7)
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.
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.
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.
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.
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.
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.
great, thanks again!
i guess that closes the issue.
from panamax.
Related Issues (20)
- Adjust the vendor directories being tracked (over time) HOT 2
- A way to serve the documentation for crates.io?
- Please add selective syncing HOT 4
- Unable to complete downloading crates HOT 3
- Crate whitelisting HOT 1
- Cargo vendor failed using mirror repository
- could not resolve host:panamax.internal HOT 6
- [feature request] panamax publish my-mirror
- on Docker - error creating server listener: Address family not supported by protocol HOT 1
- not a git repository error
- how to masquerade as crates.io HOT 1
- [Enquiry] How big the full mirror is? HOT 3
- [Question] Can I start sync while the panamax is serving? HOT 2
- How do I download WASI and WASM targets ?
- [BUG] inconsistent state may occur HOT 4
- Mirroring Vendored Crates HOT 1
- No config.json HOT 4
- Unable to `cargo search` against panamax mirror HOT 2
- [Question] Use S3/minio to host /mirror? HOT 3
- Request: release a new version containing the fix for filtering unix platforms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panamax.