Skip to content

[BUG] legacy default theme not updated after upgrade #88

Closed

Description

@tanty

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

At

We are symlinking our local themes on top of the installed themes by piwigo.

IIUC, the root idea is that we can drag along custom installed themes. This is fine but, unfortunately, piwigo also stores other content, including the "default" theme, in that folder which receives updates from version to version:
https://github.com/Piwigo/Piwigo/tree/master/themes

If we symlink without having this into account, we end having the content of our older piwigo installation still in "themes" after an upgrade.

Expected Behavior

No response

Steps To Reproduce

N/A

Environment

- OS: Debian stable
- How docker service was installed: podman from distro's packagemanager

CPU architecture

x86-64

Docker creation

N/A

Container logs

N/A

Activity

  1. tanty commented on Nov 28, 2025

    @tanty
    Author

    FWIW, this problem also exists for the other symlinked directories, but the content there has not been updated in the last 6 years and, hence, has not become a problem yet.

  2. tanty commented on Nov 28, 2025

    @tanty
    Author

    I also wonder about the need to symlink the themes directory since Piwigo provides the themes_dir configuration variable.

  3. tanty commented on Nov 28, 2025

    @tanty
    Author
  4. self-assigned this
    on Nov 28, 2025
  5. mossroy commented on Nov 29, 2025

    @mossroy

    Could it be the reason why the login page displays the following error with version 16.0.0-ls322? (and was OK with 15.7.0-ls319)

    Warning: filemtime(): stat failed for ./themes/standard_pages/theme.css in /app/www/public/include/template.class.php on line 1925

  6. veletron2 commented on Dec 4, 2025

    @veletron2

    Could it be the reason why the login page displays the following error with version 16.0.0-ls322? (and was OK with 15.7.0-ls319)

    Warning: filemtime(): stat failed for ./themes/standard_pages/theme.css in /app/www/public/include/template.class.php on line 1925

    I have this same error after upgrading beyond V15.7.0-ls322 I have no idea whether the underlying cause is as described in this thread, so I will raise it as a separate issue.

  7. zero0cool0 commented on Dec 4, 2025

    @zero0cool0

    Same issue here. As a band-aid, I've created my own Docker build based on linuxserver/piwigo:latest and I'm copying the standard_pages to the themes folder during the build. Clearly not the ideal and final solution, but working for now.

  8. thespad commented on Dec 4, 2025

    @thespad
    Member

    I'm going to try and find time this weekend to address this, sorry for the delay.

  9. veletron2 commented on Dec 4, 2025

    @veletron2

    I'm going to try and find time this weekend to address this, sorry for the delay.

    No apology needed. If I was any good at this stuff I would offer to assist! I raised as separate issue as was not sure if they were related.

  10. LinuxServer-CI commented on Jan 3, 2026

    @LinuxServer-CI
    Collaborator

    This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

  11. arfevrier commented on Jan 3, 2026

    @arfevrier

    Hi,
    Same issue happen with the update from 16.1 to 16.2, as the theme standard_pages have been updated with new files.
    To fix that I downloaded the source code (https://www.piwigo.org/get-piwigo), and manually upload the themes/standard_pages directory.

  12. thespad commented on Jan 4, 2026

    @thespad
    Member

    Please can you test the PR image from #94 and see if it resolves the issue.

  13. arfevrier commented on Jan 17, 2026

    @arfevrier

    Please can you test the PR image from #94 and see if it resolves the issue.

    I just tested an upgrade from release image 15.7.0 to 16.2.0 with branch 3.22-themes. It's works fine 👍
    No more theme issue.

  14. moved this from Issues to Done in Issue & PR Trackeron Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions