Skip to content

Commit

Permalink
Add a section about a 404 while downloading a component
Browse files Browse the repository at this point in the history
Add a troubleshooting section for the source build guide when getting a
404 during downloading of a software component source file.
  • Loading branch information
bjoernricks committed Mar 3, 2025
1 parent 99b18cb commit cf80f0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/22.4/source-build/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ If there are still no scan configs under {menuselection}`Configuration > Scan Co
on the web interface after some hours and the logs of gvmd and ospd-openvas do not show
errors, the `Feed Import Owner` may not have been set.


```{code-block} shell
---
caption: Setting the `Feed Import Owner`
Expand All @@ -112,3 +111,13 @@ If all these steps do not resolve the issue, it is very likely a bigger problem,
for example with the PostgreSQL database. Therefore, the
{file}`/var/log/gvm/ospd-openvas.log` and {file}`/var/log/gvm/gvmd.log` files
must be inspected for possible error and warning messages.

### curl: (22) The requested URL returned error: 404

While downloading some source file of the software components the URL can't be
found and {command}`curl` returns a HTTP status code 404.

Please ensure the version variable of the to be downloaded component and all
[required environment variables](./index.md#setting-environment-variables) are
set. If that doesn't work try to replace the variables in the curl command with
the actual content.
1 change: 1 addition & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Calendar Versioning](https://calver.org).
* Drop `lcov` development dependency in gvmd install instructions
* Fix - Docs copy (Feed Status moved to Administration)
* Update source build guide for a section explaining the environment variables
* Add section about getting a 404 to source guide troubleshooting

## 25.2.0 - 2025-02-18

Expand Down

0 comments on commit cf80f0a

Please sign in to comment.