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. Delete server rules button does not delete rule.

Delete server rules button does not delete rule.

Scheduled Pinned Locked Moved Pixelfed
48 Posts 9 Posters 6.7k Views 11 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.
  • Y Offline
    Y Offline
    yehuda1491
    wrote on last edited by
    #21

    @girish I told Dan this is not a one-off issue, that more people than just me are experiencing the issue. I'm going to setup a Cloudron server with one Pixelfed instance to see if I can replicate the issue with 0.12.0 that he can diagnose. If I can't replicate it with a fresh 0.12.0, it is likely related to the upgrade from 0.11.13 I'm imagining. Is there a way to start a fresh install with a specific version?

    girishG 1 Reply Last reply
    0
    • Y yehuda1491

      @girish I told Dan this is not a one-off issue, that more people than just me are experiencing the issue. I'm going to setup a Cloudron server with one Pixelfed instance to see if I can replicate the issue with 0.12.0 that he can diagnose. If I can't replicate it with a fresh 0.12.0, it is likely related to the upgrade from 0.11.13 I'm imagining. Is there a way to start a fresh install with a specific version?

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

      @yehuda1491 yes, https://git.cloudron.io/cloudron/pixelfed-app/-/blob/master/CHANGELOG?ref_type=heads gives a mapping between package version and pixelfed version. Click on pixelfed in appstore and change the URL bar to have the right package version and then click install.

      Y 1 Reply Last reply
      0
      • girishG girish

        @yehuda1491 yes, https://git.cloudron.io/cloudron/pixelfed-app/-/blob/master/CHANGELOG?ref_type=heads gives a mapping between package version and pixelfed version. Click on pixelfed in appstore and change the URL bar to have the right package version and then click install.

        Y Offline
        Y Offline
        yehuda1491
        wrote on last edited by
        #23

        @girish It does replicate on a fresh 0.12.0 install, fyi. I'll let you know what happens.

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yehuda1491
          wrote on last edited by yehuda1491
          #24

          @girish still haven't heard from Dan.
          FYI I have no idea if this is relevant, but on both v0.11.13 & v0.12.0 in env.production ENABLE_CONFIG_CACHE=true, and in v0.11.13 diagnostics ENABLE_CONFIG_CACHE is true, but in v0.12.0 diagnostics ENABLE_CONFIG_CACHE is false.

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #25

            I was following the upstream defaults here https://github.com/pixelfed/pixelfed/blob/v0.12.0/.env.docker#L70 also the app itself does not build anymore with config cache enabled. The mentioned docs link in pixelfed is also sadly outdated.

            1 Reply Last reply
            1
            • Y Offline
              Y Offline
              yehuda1491
              wrote on last edited by
              #26

              @girish @nebulon
              Per Dan: ENABLE_CACHE_CONFIG must be set to true after installation (and FALSE before installation), seems like its causing a lot of issues so I will fix this after work

              1 Reply Last reply
              0
              • Y Offline
                Y Offline
                yehuda1491
                wrote on last edited by yehuda1491
                #27

                @girish @nebulon A person I know says they fixed the issue, but I don't know how this relates to cloudron/docker:

                "Btw, I was able to get pixelfed working I had to do the setting permissions step again

                cd pixelfed
                sudo chown -R http:http . # change user/group to http user and http group
                sudo find . -type d -exec chmod 755 {} ; # set all directories to rwx by user/group
                sudo find . -type f -exec chmod 644 {} ; # set all files to rw by user/group

                (replace http in http:http with the user you run pixelfed as with the systemd service) then after this, i did

                php artisan cache:clear

                and then these

                php artisan config:cache
                php artisan route: cache
                php artisan migrate --force

                from the upgrade steps now it all works"

                1 Reply Last reply
                0
                • Y Offline
                  Y Offline
                  yehuda1491
                  wrote on last edited by
                  #28

                  @girish @nebulon Dan is working on my test server now...

                  1 Reply Last reply
                  0
                  • dansupD Offline
                    dansupD Offline
                    dansup
                    wrote on last edited by
                    #29

                    Hello, Pixelfed developer here. I am working on a fix for this, and I apologize about the inconvenience this has caused!

                    1 Reply Last reply
                    1
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #30

                      @yehuda1491 thanks for keeping us in the loop. Presumably some folders need to be moved to read/writeable locations for the cache if it is enabled during runtime then.

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #31

                        Just quickly tried to enable cache during runtime, but it didn't seem to change the settings situation (also can't detect any actual errors). Let us know if there are any ideas we should test there.

                        1 Reply Last reply
                        0
                        • dansupD Offline
                          dansupD Offline
                          dansup
                          wrote on last edited by
                          #32

                          @nebulon I just released a new version!

                          1 Reply Last reply
                          2
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #33

                            @dansup hi and welcome here! I am just trying the new version here. Should the ENABLE_CACHE_CONFIG=true be set during runtime then?

                            dansupD 1 Reply Last reply
                            0
                            • nebulonN nebulon

                              @dansup hi and welcome here! I am just trying the new version here. Should the ENABLE_CACHE_CONFIG=true be set during runtime then?

                              dansupD Offline
                              dansupD Offline
                              dansup
                              wrote on last edited by
                              #34

                              @nebulon Yes, I added a fallback to handle the initial race condition before the database is configured so it will work as expected!

                              Let me know if you have any issues or questions, and btw, I posted from my main fediverse account with a link back to this thread in case you wanted verification that I am in fact who I say I am!

                              https://mastodon.social/@dansup/112398832338424229

                              1 Reply Last reply
                              1
                              • nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #35

                                @dansup unfortunately the new app version seems to behave the same on Cloudron with or without the confic cache set https://git.cloudron.io/cloudron/pixelfed-app/-/commit/512f3767c3bd6a54b4992c201d979d2a7623a86e

                                The actual values are never stored persistently it seems, like submitting the settings form like branding will succeed status code wise, but a reload of the settings page will reveal the defaults.

                                dansupD 1 Reply Last reply
                                1
                                • nebulonN nebulon

                                  @dansup unfortunately the new app version seems to behave the same on Cloudron with or without the confic cache set https://git.cloudron.io/cloudron/pixelfed-app/-/commit/512f3767c3bd6a54b4992c201d979d2a7623a86e

                                  The actual values are never stored persistently it seems, like submitting the settings form like branding will succeed status code wise, but a reload of the settings page will reveal the defaults.

                                  dansupD Offline
                                  dansupD Offline
                                  dansup
                                  wrote on last edited by
                                  #36

                                  @nebulon Hi, I'm looking into this and will get back to you shortly!

                                  jdaviescoatesJ 1 Reply Last reply
                                  2
                                  • nebulonN nebulon referenced this topic on
                                  • Y Offline
                                    Y Offline
                                    yehuda1491
                                    wrote on last edited by
                                    #37

                                    I'm starting to get discouraged about this... 🙁

                                    1 Reply Last reply
                                    1
                                    • nebulonN Offline
                                      nebulonN Offline
                                      nebulon
                                      Staff
                                      wrote on last edited by
                                      #38

                                      @yehuda1491 it appears that @dansup is pretty much a sole developer of pixelfed, so maybe if you have the ability to help debugging it would probably speed up the fix.

                                      Y 1 Reply Last reply
                                      2
                                      • nebulonN nebulon

                                        @yehuda1491 it appears that @dansup is pretty much a sole developer of pixelfed, so maybe if you have the ability to help debugging it would probably speed up the fix.

                                        Y Offline
                                        Y Offline
                                        yehuda1491
                                        wrote on last edited by
                                        #39

                                        @nebulon I wish, but coding is not my skillset. It's cool, I understand people have limited time and energy they can donate to the community.

                                        1 Reply Last reply
                                        1
                                        • J Offline
                                          J Offline
                                          jkammerer
                                          wrote on last edited by
                                          #40

                                          hello @nebulon ,
                                          i see you updated the package to 0.12.1. I made a fresh install of the app. Still i can't get the admin panel to work. Any changes in settings are dropped immediately. Is this broken only on cloudron installs? Pixelfed seems to be used widely. Is there some kind of workaround? Editing the env.production file?
                                          Is @dansup aware that the issue persists?

                                          1 Reply Last reply
                                          2
                                          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