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. App Wishlist
  3. Mixpost

Mixpost

Scheduled Pinned Locked Moved App Wishlist
164 Posts 15 Posters 50.9k Views 18 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.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #104

    Starting to hit storage issues. I received a backup failed notification. The app size was around 100MB for a fresh install. Now it's 3.98 GB! I'm not really using the app yet or uploading any media so the increase must be from the last update I did (v1.0 to v1.2).

    image.png

    Edit: The culprit is the log file located at /mixpost-pro-team-app/storage/logs/laravel.log (in my case it grew to over 5GB!). It had a lot of Redis references. The app's Redis is green in services and is using around 1/3 of the allocated 150MB so nothing out of the ordinary. The values in the .env file match what's in the credentials.txt file so that's good too. I'll update the post if Dima finds the root cause.

    a few lines of the laravel.log file: https://pastebin.com/bkWK1LGA

    girishG 1 Reply Last reply
    3
    • humptydumptyH humptydumpty

      Starting to hit storage issues. I received a backup failed notification. The app size was around 100MB for a fresh install. Now it's 3.98 GB! I'm not really using the app yet or uploading any media so the increase must be from the last update I did (v1.0 to v1.2).

      image.png

      Edit: The culprit is the log file located at /mixpost-pro-team-app/storage/logs/laravel.log (in my case it grew to over 5GB!). It had a lot of Redis references. The app's Redis is green in services and is using around 1/3 of the allocated 150MB so nothing out of the ordinary. The values in the .env file match what's in the credentials.txt file so that's good too. I'll update the post if Dima finds the root cause.

      a few lines of the laravel.log file: https://pastebin.com/bkWK1LGA

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

      @humptydumpty maybe you can symlink that file to somewhere in /run so that it is not part of the backup.

      humptydumptyH 1 Reply Last reply
      1
      • girishG girish

        @humptydumpty maybe you can symlink that file to somewhere in /run so that it is not part of the backup.

        humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by humptydumpty
        #106

        @girish I'll have to look into how I can accomplish that. Thanks for the hint!

        Edit: I don't see a /run folder. Do you mean run.sh?

        Edit 2: I think I found out how to do it via the run.sh method: https://docs.cloudron.io/apps/lamp/#custom-startup-script

        The example on that page is:

        # create symlinks
        rm -rf /app/data/var/cache
        mkdir -p /run/cache
        ln -sf /run/cache /app/data/var/cache
        

        correct me if I'm wrong, but for my use case it should be something like:

        # create symlinks
        rm -rf /app/data/mixpost-pro-team-app/storage/logs
        mkdir -p /run/logs
        ln -sf /run/logs /app/data/mixpost-pro-team-app/storage/logs
        

        Edit 3: The app started fine with the code above in run.sh. Now, it looks like this in the file manager, so I guess it's working.

        f682ab41-5a4b-4286-aa0a-ef66da748721-image.png

        @girish I can't open the logs folder in the file manager; clicking on it does nothing. I'm worried that the log file will get too large and will require manual deletion in the future. What's the easiest way to access the folder or better yet, a way to auto-delete the log file after x days?

        1 Reply Last reply
        2
        • humptydumptyH Offline
          humptydumptyH Offline
          humptydumpty
          wrote on last edited by
          #107

          @girish what's the file location for the /run folder that I symlinked earlier? I logged in via SFTP using FileZilla and can see the all the server folders (/) but haven't been able to locate the symlinked folder.

          image.png

          girishG 1 Reply Last reply
          0
          • humptydumptyH humptydumpty

            @girish what's the file location for the /run folder that I symlinked earlier? I logged in via SFTP using FileZilla and can see the all the server folders (/) but haven't been able to locate the symlinked folder.

            image.png

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

            @humptydumpty that sftp looks suspect. Only the /app/data directory is exposed via SFTP and not the entire container filesystem. Looks like you are logged in somewhere else.

            There is no way to browse /run etc via SFTP. You have to use the Web Terminal.

            humptydumptyH 1 Reply Last reply
            0
            • girishG girish

              @humptydumpty that sftp looks suspect. Only the /app/data directory is exposed via SFTP and not the entire container filesystem. Looks like you are logged in somewhere else.

              There is no way to browse /run etc via SFTP. You have to use the Web Terminal.

              humptydumptyH Offline
              humptydumptyH Offline
              humptydumpty
              wrote on last edited by humptydumpty
              #109

              @girish I'm logging in as root and I'm positive that the IP is my Contabo VPS. On first login, the page looks like this.

              9dcd78d7-6fa0-4b90-9426-88da046af980-image.png

              Then, I can click on / and it shows this:

              d9d668dd-bf8a-457a-a6b1-be31ecc11260-image.png

              Any way, there's no way to access the /logs folder now via the web terminal in Cloudron dashboard. It's showing a grey file icon and double-clicking or right-clicking > open, does nothing. Brain fart! You're saying web terminal and I'm even typing it but thinking of the file manager 🤦 Nevermind!

              1 Reply Last reply
              1
              • humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by humptydumpty
                #110

                To continue on the root SFTP access thing, I can see /box and /boxdata in the /yellowtent folder.

                image.png

                45bbd9fe-e847-49f9-bf59-4d6c8ea309e0-image.png

                Should I be concerned about this?

                girishG 1 Reply Last reply
                0
                • humptydumptyH humptydumpty

                  To continue on the root SFTP access thing, I can see /box and /boxdata in the /yellowtent folder.

                  image.png

                  45bbd9fe-e847-49f9-bf59-4d6c8ea309e0-image.png

                  Should I be concerned about this?

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

                  @humptydumpty said in Mixpost:

                  Should I be concerned about this?

                  concerned about? you are browsing the server's filesystem. The app runs as a container and has it's own filesytem. The app's filesystem is difficult to browse via SFTP.

                  1 Reply Last reply
                  0
                  • humptydumptyH Offline
                    humptydumptyH Offline
                    humptydumpty
                    wrote on last edited by
                    #112

                    Ah, noted. I misunderstood what you meant and thought that I shouldn't have been able to browse/see the server folders. Thanks for bearing with me!

                    1 Reply Last reply
                    1
                    • jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #113

                      Any updates/ progress on getting this into the App Store? Could @Staff or any other @appdev help it along?

                      @lao9s I will buy a Pro licence as soon as this is in the Cloudron App Store 🙂

                      (also still kicking myself I didn't get a lifetime one while I could 🤦 even though I still wouldn't've been able to use it yet 😆 )

                      I use Cloudron with Gandi & Hetzner

                      girishG 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        Any updates/ progress on getting this into the App Store? Could @Staff or any other @appdev help it along?

                        @lao9s I will buy a Pro licence as soon as this is in the Cloudron App Store 🙂

                        (also still kicking myself I didn't get a lifetime one while I could 🤦 even though I still wouldn't've been able to use it yet 😆 )

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

                        @jdaviescoates https://forum.cloudron.io/post/70435 still remains valid. It's not possible to package this for Cloudron .

                        jdaviescoatesJ robiR 2 Replies Last reply
                        1
                        • girishG girish

                          @jdaviescoates https://forum.cloudron.io/post/70435 still remains valid. It's not possible to package this for Cloudron .

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #115

                          @girish said in Mixpost:

                          It's not possible to package this for Cloudron

                          😭 😢

                          Any chance you can change the way it works @lao9s ?

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          2
                          • rmdesR Offline
                            rmdesR Offline
                            rmdes
                            wrote on last edited by
                            #116

                            Still really exciting to see this up and running on cloudron with hands on approach using the LAMP, I'm definitely going to try this out 🙂

                            1 Reply Last reply
                            2
                            • girishG girish

                              @jdaviescoates https://forum.cloudron.io/post/70435 still remains valid. It's not possible to package this for Cloudron .

                              robiR Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #117

                              @girish said in Mixpost:

                              @jdaviescoates https://forum.cloudron.io/post/70435 still remains valid. It's not possible to package this for Cloudron .

                              That's not quite entirely true, no? There is a writable part in /app/data and /var/run. It could be excluded from backups too depending on what directory it is downloaded to, say a hidden .pro dir.

                              It's also possible to create an in-memory file system, and have it download the Pro version there at every start. Otherwise it's the lite version.

                              Conscious tech

                              humptydumptyH 1 Reply Last reply
                              3
                              • robiR robi

                                @girish said in Mixpost:

                                @jdaviescoates https://forum.cloudron.io/post/70435 still remains valid. It's not possible to package this for Cloudron .

                                That's not quite entirely true, no? There is a writable part in /app/data and /var/run. It could be excluded from backups too depending on what directory it is downloaded to, say a hidden .pro dir.

                                It's also possible to create an in-memory file system, and have it download the Pro version there at every start. Otherwise it's the lite version.

                                humptydumptyH Offline
                                humptydumptyH Offline
                                humptydumpty
                                wrote on last edited by
                                #118

                                @robi I wish this can get sorted out. Keeping up with updates manually is a real PITA.

                                1 Reply Last reply
                                2
                                • robiR Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #119

                                  I started a guide for Mixpost Lite in this thread:
                                  https://forum.cloudron.io/topic/11088/mixpost-lite-install-guide-for-lamp-app

                                  Let me know if I missed something.

                                  Conscious tech

                                  andreasduerenA 1 Reply Last reply
                                  4
                                  • robiR robi

                                    I started a guide for Mixpost Lite in this thread:
                                    https://forum.cloudron.io/topic/11088/mixpost-lite-install-guide-for-lamp-app

                                    Let me know if I missed something.

                                    andreasduerenA Offline
                                    andreasduerenA Offline
                                    andreasdueren
                                    wrote on last edited by
                                    #120

                                    @robi said in Mixpost:

                                    I started a guide for Mixpost Lite in this thread:
                                    https://forum.cloudron.io/topic/11088/mixpost-lite-install-guide-for-lamp-app

                                    Let me know if I missed something.

                                    BTW this also works no problem in the enterprise version.

                                    1 Reply Last reply
                                    1
                                    • humptydumptyH Offline
                                      humptydumptyH Offline
                                      humptydumpty
                                      wrote on last edited by
                                      #121

                                      image.png

                                      1 Reply Last reply
                                      2
                                      • andreasduerenA Offline
                                        andreasduerenA Offline
                                        andreasdueren
                                        wrote on last edited by
                                        #122

                                        I honestly don't know how much sense it makes to package this. It seems to run super smooth in the LAMP app and there are so many different versions to keep up with packaging

                                        humptydumptyH 1 Reply Last reply
                                        0
                                        • andreasduerenA andreasdueren

                                          I honestly don't know how much sense it makes to package this. It seems to run super smooth in the LAMP app and there are so many different versions to keep up with packaging

                                          humptydumptyH Offline
                                          humptydumptyH Offline
                                          humptydumpty
                                          wrote on last edited by
                                          #123

                                          @andreasdueren the app has to be changed/unified by Dima @lao9s if a package is to be made, and it doesn't look like he is willing to make that happen. We have plenty of paid apps packaged on Cloudron. I don't understand the rationale behind his refusal.

                                          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