mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
allow to upgrade the mastercontainer even if no update was found
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
8661bdf020
commit
0e1edde3a7
2 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ $app->add(new \AIO\Middleware\AuthMiddleware($container->get(\AIO\Auth\AuthManag
|
||||||
|
|
||||||
// API
|
// API
|
||||||
$app->post('/api/docker/watchtower', AIO\Controller\DockerController::class . ':StartWatchtowerContainer');
|
$app->post('/api/docker/watchtower', AIO\Controller\DockerController::class . ':StartWatchtowerContainer');
|
||||||
|
$app->get('/api/docker/getwatchtower', AIO\Controller\DockerController::class . ':StartWatchtowerContainer');
|
||||||
$app->post('/api/docker/start', AIO\Controller\DockerController::class . ':StartContainer');
|
$app->post('/api/docker/start', AIO\Controller\DockerController::class . ':StartContainer');
|
||||||
$app->post('/api/docker/backup', AIO\Controller\DockerController::class . ':StartBackupContainerBackup');
|
$app->post('/api/docker/backup', AIO\Controller\DockerController::class . ':StartBackupContainerBackup');
|
||||||
$app->post('/api/docker/backup-check', AIO\Controller\DockerController::class . ':StartBackupContainerCheck');
|
$app->post('/api/docker/backup-check', AIO\Controller\DockerController::class . ':StartBackupContainerCheck');
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ class DockerHubManager
|
||||||
return $cachedVersion;
|
return $cachedVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If one of the links below should ever become outdated, we can still upgrade the mastercontainer via the webinterface manually by opening '/api/docker/getwatchtower'
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$authTokenRequest = $this->guzzleClient->request(
|
$authTokenRequest = $this->guzzleClient->request(
|
||||||
'GET',
|
'GET',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue