Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Pixelfed
  3. Overriding MEDIA_EXIF_DATABASE in .env

Overriding MEDIA_EXIF_DATABASE in .env

Scheduled Pinned Locked Moved Pixelfed
4 Posts 2 Posters 589 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      C Offline
      cdrum
      wrote on last edited by
      #1

      Hi, I have Pixelfed installed, and I'd let to set the .env variable MEDIA_EXIF_DATABASE to true. This variable is located in the file /app/code/.env.docker which I believe is read only. This setting is (sparsely) documented at https://docs.pixelfed.org/technical-documentation/config/ .

      I tried overriding it in the /app/code/.env file, (by adding MEDIA_EXIF_DATABASE=true), but after restarting the app, this variable is still shown to be false when accessing the diagnostics page at /i/admin/diagnostics/home.

      Any help is appreciated!
      Chris

      girishG 1 Reply Last reply
      1
      • C cdrum

        Hi, I have Pixelfed installed, and I'd let to set the .env variable MEDIA_EXIF_DATABASE to true. This variable is located in the file /app/code/.env.docker which I believe is read only. This setting is (sparsely) documented at https://docs.pixelfed.org/technical-documentation/config/ .

        I tried overriding it in the /app/code/.env file, (by adding MEDIA_EXIF_DATABASE=true), but after restarting the app, this variable is still shown to be false when accessing the diagnostics page at /i/admin/diagnostics/home.

        Any help is appreciated!
        Chris

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @cdrum On Cloudron, you have to edit /app/data/env.production - https://docs.cloudron.io/apps/pixelfed/#customizations . This is symlinked from /app/code/.env , so it's the same file as you adjusted.

        The /i/admin/diagnostics/home file is sometimes misleading (I recall this for some other variable as well). You can try adjusting some other variables and you will see that it is reflected. After making sure that's the case, you can report the issue upstream - https://github.com/pixelfed/pixelfed/issues/.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          I think https://github.com/pixelfed/pixelfed/issues/2801 was the upstream issue. But maybe you can open a separate one as well.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cdrum
            wrote on last edited by
            #4

            Thanks Girish, I'll take a look and report back!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search