Comments (10)
I tried to replicate the issue, but failed. Do have more information about your setup, so I can replicate it?
from kellnr.
Hello,
I have kellnr v5.1.1 manually installed on RPI4 (aarch64) running Arch Linux
I see folders get generated in the dir "doc_queue" when I press build button, but nothing is in docs dir (always empty)
from kellnr.
got the same error at ubuntu 22.04 installed kellnr as binary, get started from user kellnr
rust is installed at that user
root@rust-crate-registry:~# systemctl status kellnr.service
* kellnr.service - Kellnr Crate Registry
Loaded: loaded (/etc/systemd/system/kellnr.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2024-01-26 13:47:16 UTC; 53s ago
Main PID: 110 (kellnr)
Tasks: 8 (limit: 154316)
Memory: 39.6M
CPU: 54ms
CGroup: /system.slice/kellnr.service
`-110 /kellnr/kellnr
Jan 26 13:47:16 rust-crate-registry systemd[1]: Started Kellnr Crate Registry.
Jan 26 13:47:16 rust-crate-registry kellnr[110]: 2024-01-26T13:47:16.575371Z INFO kellnr: Starting kellnr
Jan 26 13:48:06 rust-crate-registry kellnr[110]: 2024-01-26T13:48:06.835355Z ERROR docs::doc_queue: Failed to extract docs from crate: could not execute process `rustc -vV` (never executed)
kellnr@rust-crate-registry:~$ rustc -vV
rustc 1.75.0 (82e1608df 2023-12-21)
binary: rustc
commit-hash: 82e1608dfa6e0b5569232559e3d385fea5a93112
commit-date: 2023-12-21
host: x86_64-unknown-linux-gnu
release: 1.75.0
LLVM version: 17.0.6
from kellnr.
I installed kellnr on a fresh Ubuntu 22.04 aarch64 and tested the doc creation. As it works out of the box for me, could you provide the logs from kellnr with the log_level "trace" when you try to build docs?
from kellnr.
I found the problem after you stated it just works.
I had installed rust via https://www.rust-lang.org/ and not via apt.
After deinstalling rust and installing it with apt install rust-all
it worked like a charm 👍
kellnr@rust-crate-registry:~$ rustc -vV
rustc 1.71.1 (eb26296b5 2023-08-03) (built from a source tarball)
binary: rustc
commit-hash: eb26296b556cef10fb713a38f3d16b9886080f26
commit-date: 2023-08-03
host: x86_64-unknown-linux-gnu
release: 1.71.1
LLVM version: 16.0.5
No idea if this is a bug or a feature.
from kellnr.
@secana thank you for testing.
unfortunately now for some reason the build button disappeared entirely to an unknown destination:
and my poor little crate is stuck in the doc queue for few days now:
I guess logs aren't much of use because I can't press (build) docs but here are the lines just after a kellnr service restart:
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.334757Z TRACE index::cratesio_prefetch_api: Index not-modified for hermit-abi
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.334872Z TRACE index::cratesio_prefetch_api: Updating prefetch data for gimli
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.363544Z TRACE index::cratesio_prefetch_api: Index not-modified for siphasher
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.398384Z TRACE index::cratesio_prefetch_api: Index not-modified for range-alloc
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.552497Z TRACE index::cratesio_prefetch_api: Index not-modified for tinyvec_macros
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.570490Z TRACE index::cratesio_prefetch_api: Index not-modified for gpu-allocator
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.598523Z TRACE index::cratesio_prefetch_api: Index not-modified for bit-vec
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.608568Z TRACE index::cratesio_prefetch_api: Index not-modified for glow
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.638191Z TRACE index::cratesio_prefetch_api: Index not-modified for com-rs
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.671360Z TRACE index::cratesio_prefetch_api: Index not-modified for termcolor
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.696598Z TRACE index::cratesio_prefetch_api: Index not-modified for backtrace
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.778934Z TRACE index::cratesio_prefetch_api: Index not-modified for widestring
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.788314Z TRACE index::cratesio_prefetch_api: Index not-modified for gpu-descriptor-types
Feb 01 22:54:15 OnlyACs kellnr[54990]: 2024-02-01T21:54:15.912848Z TRACE index::cratesio_prefetch_api: Index not-modified for objc_exception
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.074274Z TRACE index::cratesio_prefetch_api: Index not-modified for zerocopy
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.076409Z TRACE index::cratesio_prefetch_api: Index not-modified for addr2line
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.088106Z TRACE index::cratesio_prefetch_api: Index not-modified for object
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.107444Z TRACE index::cratesio_prefetch_api: Index not-modified for rustc-demangle
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.111063Z TRACE index::cratesio_prefetch_api: Index not-modified for gpu-alloc-types
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.122312Z TRACE index::cratesio_prefetch_api: Index not-modified for zerocopy-derive
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.148210Z TRACE index::cratesio_prefetch_api: Index not-modified for unicode-width
Feb 01 22:54:16 OnlyACs kellnr[54990]: 2024-02-01T21:54:16.198190Z TRACE index::cratesio_prefetch_api: Index not-modified for gimli
Feb 01 22:54:30 OnlyACs kellnr[54990]: 2024-02-01T21:54:30.582659Z DEBUG request: tower_http::trace::on_request: started processing request method=GET uri=/api/v1/ui/statistic version=HTTP/1.1
Feb 01 22:54:30 OnlyACs kellnr[54990]: 2024-02-01T21:54:30.595975Z DEBUG request: tower_http::trace::on_response: finished processing request latency=13 ms status=200 method=GET uri=/api/v1/ui/statistic version=HTTP/1.1
Feb 01 22:54:41 OnlyACs kellnr[54990]: 2024-02-01T21:54:41.179925Z DEBUG request: tower_http::trace::on_request: started processing request method=GET uri=/api/v1/ui/crates?page=0&page_size=12 version=HTTP/1.1
Feb 01 22:54:41 OnlyACs kellnr[54990]: 2024-02-01T21:54:41.181777Z DEBUG request: tower_http::trace::on_response: finished processing request latency=1 ms status=200 method=GET uri=/api/v1/ui/crates?page=0&page_size=12 version=HTTP/1.1
I'll re-install kellnr later and see if the build docs comes back.
from kellnr.
@whatakey how did you install rust? With rustup or from the distributions package manager?
from kellnr.
@secana
I installed Rust using rustup
from kellnr.
Closed as I cannot reproduce the issue
from kellnr.
I cannot reproduce the issue
It may be helpful to add this to the docs, its not really obvious that the apt install behaves different to the rustup ones.
So apt install rust works, rustup not (how they get installed differs a lot).
from kellnr.
Related Issues (20)
- Could a view be added that displays packages via proxy? HOT 1
- statusCode=404 in Cargo.toml in Visual Studio Code HOT 2
- Permission to push and pull HOT 2
- I can not figure out how to set it up correctly HOT 4
- Switch to static.crates.io
- Updating helm values and upgrading, does not change default.toml HOT 1
- Spurious network error HOT 1
- [feature request] list dependees in addition to dependencies
- UI bug in search view HOT 3
- Doc build in kellnr docker container fails with: Invalid cross-device link HOT 3
- Kellnr's docker image doubled in size in last release HOT 4
- Public crates registry HOT 3
- Feature Improvement Request: Simplifying Documentation URL Format and Adding Latest Version Link HOT 4
- Cannot upload doc HOT 7
- ldap support HOT 1
- Disabaling the crates.io proxy will not disable the sparse index HOT 1
- private registry hosting cratesio setup HOT 2
- Kellnr calculates wrong checksum [CRITICAL] HOT 17
- Doc build in kellnr docker container fails with: Invalid cross-device link HOT 5
- Can't autogenerate docs when using docker image HOT 2
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 kellnr.