#14717: HaikuDepot Server doesn't get new packages
----------------------------------------+--------------------------
Reporter: CodeforEvolution | Owner: kallisti5
Type: bug | Status: reopened
Priority: normal | Milestone:
Component: Website/HaikuDepotServer | Version:
Resolution: | Keywords:
Blocked By: | Blocking: 14727, 15265
Has a Patch: 0 | Platform: All
----------------------------------------+--------------------------
Comment (by apl-haiku):
Here is a log trace from my locally running HDS to help you obtain some
log lines to search for.
{{{
2019-12-17 18:30:00,112 / [job-run-3...] INFO o.h.h.job.model.JobService
- js <3451..> (repositoryhpkringress); start
2019-12-17 18:30:00,126 / [job-run-3...] INFO
o.h.h.r.j.RepositoryHpkrIngressJobRunner - will import for repository
source [RepositorySource[code=haikuports_x86_64]]
2019-12-17 18:30:00,186 / [job-run-3...] INFO
o.h.h.r.j.RepositoryHpkrIngressJobRunner - will copy data for repository
info [RepositorySource[code=haikuports_x86_64]] (https://eu.hpkg.haiku-
os.org:443/haikuports/master/x86_64/current/repo.info) to temporary file
2019-12-17 18:30:01,558 / [job-run-3...] INFO
o.h.h.r.j.RepositoryHpkrIngressJobRunner - will copy repository hpkr
[RepositorySource[code=haikuports_x86_64]] (https://eu.hpkg.haiku-
os.org:443/haikuports/master/x86_64/current/repo) to temporary file
2019-12-17 18:30:06,026 / [job-run-3...] INFO
o.h.h.r.j.RepositoryHpkrIngressJobRunner - did copy 1224361 bytes for
repository hpkr [RepositorySource[code=haikuports_x86_64]]
(https://eu.hpkg.haiku-os.org:443/haikuports/master/x86_64/current/repo)
to temporary file
2019-12-17 18:30:06,037 / [job-run-3...] INFO
o.h.h.r.j.RepositoryHpkrIngressJobRunner - will process data for
repository hpkr haikuports_x86_64
2019-12-17 18:30:42,804 / [job-run-3...] INFO
o.h.h.r.j.RepositoryHpkrIngressJobRunner - did process data for repository
hpkr RepositorySource[code=haikuports_x86_64] in 36767ms
2019-12-17 18:30:42,843 / [job-run-3...] INFO o.h.h.job.model.JobService
- js <3451..> (repositoryhpkringress); finish
}}}
It appears that the data at this URL {{{curl "https://depot.haiku-
os.org/__repository/haikuports/source/haikuports_x86_64/import"}}} is not
changing?
If you want to **manually** trigger a repository synchronization to see if
the import process is working then you can do this by using the following
API call;
{{{
curl "https://depot.haiku-
os.org/__repository/haikuports/source/haikuports_x86_64/import"
}}}
You will be able to obtain other codes for repositories or repository
sources using the HDS web user interface.
Aside from this one-off API call there is a scheduled task that should run
daily at 12:17 GMT+0 for importing all of the repositories. If this is
working then you should see a log line;
{{{
did trigger daily maintenance
}}}
Can you please;
* check that you see the 'maintenance' log line to confirm that the
scheduled maintenance is working
* invoke the one-off API call to update a repository and check you see log
trace to confirm it is importing
* establish why the HPKR data at the URL in the logs is not changing if
this is the problem
--
Ticket URL: <https://dev.haiku-os.org/ticket/14717#comment:15>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.