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 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
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #41

                                @jkammerer the package was updated to the latest tagged release and to use the latest PHP 8.3 . AFAIK, the issue still persists.

                                1 Reply Last reply
                                1
                                • mgn841M mgn841 referenced this topic on
                                • archosA archos referenced this topic on
                                • dansupD dansup

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

                                  jdaviescoatesJ Online
                                  jdaviescoatesJ Online
                                  jdaviescoates
                                  wrote on last edited by
                                  #42

                                  @dansup said in Delete server rules button does not delete rule.:

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

                                  Thanks! What did you discover? Does adjusting and saving settings work elsewhere? Or is this only a problem with the Cloudron package?

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    andi1357
                                    wrote on last edited by
                                    #43

                                    Hello. I have the same problems with the admin dashboard. I have now noticed that in the profile settings, under manage discover settings, the options set are not saved, even though the system says it was saved successfully. But the next time I open it, everything is gone again.

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      andi1357
                                      wrote on last edited by
                                      #44
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #45

                                        I think the best way forward to solve this is to debug the app and see if this is an upstream issue or Cloudron packaging issue. I have created an internal task to debug this.

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

                                          Saving of admin values is fixed in the new package.

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