Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Apr 11, 2025

fix #52131

regression: 00580b3

@ArtificialOwl ArtificialOwl force-pushed the fix/52131/ignore-missing-themes-31 branch from d4b3522 to 01c9ecc Compare April 11, 2025 18:04
@ArtificialOwl ArtificialOwl requested a review from susnux April 11, 2025 18:16
@ArtificialOwl ArtificialOwl added this to the Nextcloud 31.0.4 milestone Apr 11, 2025
@nickvergessen
Copy link
Member

Also master?

$themesService = \OCP\Server::get(\OCA\Theming\Service\ThemesService::class);
$this->assign('enabledThemes', $themesService->getEnabledThemes());
try {
$themesService = \OCP\Server::get(\OCA\Theming\Service\ThemesService::class);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can this class not exist? theming is force enabled - always.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before installing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems that it is not loaded during setup process

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it testable with CI?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best would be to have e2e test for web setup (and also login flow...), most basic way would be to check if the setup page does not throw a 500 (before we install NC via occ)?

docker run --rm --volume .:/var/www/html -it ghcr.io/nextcloud/continuous-integration-php8.1:latest bash -c "(php -S 0.0.0.0:80 -t /var/www/html &) && curl --retry 5 --retry-connrefused -I localhost"

@solracsf
Copy link
Member

Also affects v30.

@susnux
Copy link
Contributor

susnux commented Apr 12, 2025

/backport to stable30

@susnux
Copy link
Contributor

susnux commented Apr 12, 2025

/backport to stable29

@susnux
Copy link
Contributor

susnux commented Apr 12, 2025

/backport to master

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
@susnux susnux force-pushed the fix/52131/ignore-missing-themes-31 branch from 98814cf to 46a3b18 Compare April 12, 2025 13:33
@ArtificialOwl ArtificialOwl merged commit cc988df into stable31 Apr 12, 2025
203 of 213 checks passed
@ArtificialOwl ArtificialOwl deleted the fix/52131/ignore-missing-themes-31 branch April 12, 2025 17:24
@backportbot
Copy link

backportbot bot commented Apr 12, 2025

The backport to master failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout master
git pull origin master

# Create the new backport branch
git checkout -b backport/52135/master

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 46a3b18d

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/52135/master

Error: Failed to check for changes with origin/master: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants