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 42.7k 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
    #145

    Using SMTP relay user credentials didn't work either. In the Mixpost dashboard > admin console > Laravel Horizon, you can see the failed jobs. Here's the code from the failed "reset password" job. In the terminal, you can also see Horizon running the reset password notification job and then it fails (see screenshot).

    Exception
    Illuminate\Queue\MaxAttemptsExceededException: Inovector\Mixpost\Notifications\ResetPassword has been attempted too many times. in /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/MaxAttemptsExceededException.php:24
    Stack trace:
    #0 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(785): Illuminate\Queue\MaxAttemptsExceededException::forJob()
    #1 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(519): Illuminate\Queue\Worker->maxAttemptsExceededException()
    #2 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(428): Illuminate\Queue\Worker->markJobAsFailedIfAlreadyExceedsMaxAttempts()
    #3 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(389): Illuminate\Queue\Worker->process()
    #4 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(176): Illuminate\Queue\Worker->runJob()
    #5 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(137): Illuminate\Queue\Worker->daemon()
    #6 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(120): Illuminate\Queue\Console\WorkCommand->runWorker()
    #7 /app/data/mixpost-pro-team-app/vendor/laravel/horizon/src/Console/WorkCommand.php(51): Illuminate\Queue\Console\WorkCommand->handle()
    #8 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Laravel\Horizon\Console\WorkCommand->handle()
    #9 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
    #10 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
    #11 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
    #12 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call()
    #13 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call()
    #14 /app/data/mixpost-pro-team-app/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute()
    #15 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run()
    #16 /app/data/mixpost-pro-team-app/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run()
    #17 /app/data/mixpost-pro-team-app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
    #18 /app/data/mixpost-pro-team-app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
    #19 /app/data/mixpost-pro-team-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run()
    #20 /app/data/mixpost-pro-team-app/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
    #21 {main}
    
    Exception Context
    null
    
    Data
    {
    "notifiables": {
    "class": "Inovector\Mixpost\Models\User",
    "id": [
    1
    ],
    "relations": [
    ],
    "connection": "mysql",
    "collectionClass": null
    },
    "notification": {
    "token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "id": "XXXXXXXXXXXXXXXXXXXXXXXXXX",
    "locale": "en-GB"
    },
    "channels": [
    "mail"
    ]
    }
    

    Note: XXXXXXX values are hidden for privacy

    8636d953-b38d-49e9-abf5-a99c58df231b-image.png

    @lao9s Can you please take a look at this? P.S. I opened a ticket on discord that went unanswered.

    1 Reply Last reply
    0
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #146

      @humptydumpty just to double check credentials, you can try the swaks CLI tool in the web terminal. See https://docs.cloudron.io/packaging/addons/#sendmail for an example

      1 Reply Last reply
      1
      • andreasduerenA andreasdueren

        @humptydumpty said in Mixpost:

        @andreasdueren BTW, in your Cloudron > Email, is your mail server name smtp or mail?

        I have it as mail. In credentials.txt, it shows mail as value for the first two lines.

        87355155-6ca5-411a-b645-658e74a07156-image.png

        Mail server location is mail. Also shows mail in the credentials.

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #147

        @andreasdueren said in Mixpost:

        Mail server location is mail. Also shows mail in the credentials.

        The mail server location is for the "external facing" domain name. So, it would be mail.domain.com for the external world. The mail that you use in the env variables is the internal DNS i.e the mail container is named mail internally. Both these are totally different! mail containers name will not change in the foreseeable future but mail.domain.com could be changed by user to whatever they want.

        1 Reply Last reply
        1
        • humptydumptyH humptydumpty

          No luck yet. I'm starting to suspect my server set up.

          • cloudron #1 ("mail" mail server for incoming + SMTP relay for outgoing)
          • cloudron #2 - mixpost is installed here (no incoming mail + SMTP relay for outgoing)

          All other apps can send and receive mail on cloudron #2 (receiving goes thru CR #1 obviously) just fine so I know the setup works.

          Later today I'll try creating a dedicated SMTP user in Mailgun and using that instead to bypass any possible server config issues.

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

          @humptydumpty I'm not using my Cloudron for incoming mail either. So I don't think this is an issue.

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

            I'm not sure if I'm using the swaks command right. In the app's terminal, I typed swaks it said To, I pasted the >swaks bla bla (first line), it said connection refused on port 25. Did the same for the second line and got the same result.

            Anyway, I think there's a mistake in the docs: https://docs.cloudron.io/packaging/addons/#sendmail where it says CLOUDRON_MAIL_DOMAIN= # the domain name to use for email sending (i.e username@domain) shouldn't it be mydomain.com and not username@domain?

            girishG 1 Reply Last reply
            0
            • jdaviescoatesJ Online
              jdaviescoatesJ Online
              jdaviescoates
              wrote on last edited by
              #150

              All this just makes it clear to me that this app needs packaging so everything Just Works, as is the Cloudron way.

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • humptydumptyH humptydumpty

                I'm not sure if I'm using the swaks command right. In the app's terminal, I typed swaks it said To, I pasted the >swaks bla bla (first line), it said connection refused on port 25. Did the same for the second line and got the same result.

                Anyway, I think there's a mistake in the docs: https://docs.cloudron.io/packaging/addons/#sendmail where it says CLOUDRON_MAIL_DOMAIN= # the domain name to use for email sending (i.e username@domain) shouldn't it be mydomain.com and not username@domain?

                girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #151

                @humptydumpty you should be able to cut and paste the command as-is and it will work. The port is not 25, it's 2525

                aa4b9c1a-fd2e-49f8-a4af-75bdf0268e92-image.png

                I will fix the typo in the docs, but it's trying to say the "i.e the domain part of username@domain"

                humptydumptyH 1 Reply Last reply
                1
                • girishG girish

                  @humptydumpty you should be able to cut and paste the command as-is and it will work. The port is not 25, it's 2525

                  aa4b9c1a-fd2e-49f8-a4af-75bdf0268e92-image.png

                  I will fix the typo in the docs, but it's trying to say the "i.e the domain part of username@domain"

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

                  @girish I received the test emails that I sent to my Protonmail address! What does that mean in terms of the app not sending the reset email?

                  1 Reply Last reply
                  0
                  • girishG Do not disturb
                    girishG Do not disturb
                    girish
                    Staff
                    wrote on last edited by
                    #153

                    @humptydumpty I guess it means it is either a configuration issue or a mixpost issue because Cloudron side is OK

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

                      @humptydumpty here is my complete .env file in case there is something else in there that's useful:
                      Did you activate MIXPOST_FORGOT_PASSWORD=true for example?

                      # You app name. It is usually equal to the name of your project.
                      APP_NAME='tld.ld'
                      
                      # Your application environment. If you are ready for production, set 'production'
                      APP_ENV=production
                      
                      # Is used to encrypt and decrypt sensitive data. Generate it with: 'php artisan key:generate'
                      APP_KEY=base64:yfWnd+DKiAnIPluqqzkREDlLGdqXoxibScsdyFjmIwo=
                      
                      # Debug mode. If the environment is in production, we recommend setting it to 'false'
                      APP_DEBUG=false
                      
                      # URL of your application. Important: it is not allowed to be a slash at the end of the url.
                      APP_URL=https://app.tld.ld
                      APP_DOMAIN=app.tld.ld
                      
                      # Mysql connection setup
                      DB_CONNECTION=mysql # Change this only if you know what you are doing
                      DB_HOST=mysql
                      DB_PORT=3306
                      DB_DATABASE="250d30918200a8b2"
                      DB_USERNAME="250d30918200a8b2"
                      DB_PASSWORD="06c15ecba68b9e77baf5f6ab246dff2dfd6a2676479c46a1"
                      
                      # Redis connection setup
                      REDIS_HOST=redis-ef2a63d9-1366-42fe-a555-87818d6f1633
                      REDIS_PASSWORD=683300f802ec17947a4a1c9fbe0951c7aed452106c00c257
                      REDIS_PORT=6379
                      
                      # Default Queue Connection Name
                      QUEUE_CONNECTION=redis
                      
                      # Default Cache Store
                      CACHE_DRIVER=redis
                      
                      # Default Session Driver
                      SESSION_DRIVER=redis
                      
                      # Default log channel for Mixpost
                      MIXPOST_LOG_CHANNEL=mixpost
                      
                      # change URL prefix "/mixpost"
                      MIXPOST_CORE_PATH="a"
                      
                      # The disk on which to store added files. Disks: "public", "s3". For "s3" you should fill in the AWS_* credentials below.
                      MIXPOST_DISK=public
                      
                      # AWS Credentials
                      These are filled in but not in use.
                      
                      # SMTP
                      MAIL_MAILER="smtp"
                      MAIL_HOST="mail"
                      MAIL_PORT="2525"
                      MAIL_USERNAME="app@tld.ld"
                      MAIL_PASSWORD="9b7e07a5419758685560d4741270044e4a846a1e1211b5a6"
                      MAIL_ENCRYPTION="ssl"
                      MAIL_FROM_ADDRESS="app@tld.ld"
                      MAIL_FROM_NAME="${APP_NAME}"
                      
                      # Sentry
                      SENTRY_LARAVEL_DSN=null
                      
                      MIXPOST_FORGOT_PASSWORD=true
                      MIXPOST_TWO_FACTOR_AUTH=true
                      MIXPOST_DEFAULT_LOCALE=de-DE
                      
                      1 Reply Last reply
                      1
                      • humptydumptyH Offline
                        humptydumptyH Offline
                        humptydumpty
                        wrote on last edited by
                        #155

                        Thanks @andreasdueren I have a lot of missing entries compared to yours. Somehow none of these got set up on a fresh Mixpost install, but adding them didn't resolve the issue 😞

                        * APP_ENV=production
                        * APP_DOMAIN=app.tld.ld (adjusted to same value as APP_URL)
                        * QUEUE_CONNECTION=redis
                        * CACHE_DRIVER=redis
                        * SESSION_DRIVER=redis
                        * MIXPOST_FORGOT_PASSWORD=true
                        * MIXPOST_TWO_FACTOR_AUTH=true
                        * MIXPOST_DEFAULT_LOCALE=de-DE (adjusted to en-US)
                        
                        andreasduerenA 1 Reply Last reply
                        1
                        • humptydumptyH humptydumpty

                          Thanks @andreasdueren I have a lot of missing entries compared to yours. Somehow none of these got set up on a fresh Mixpost install, but adding them didn't resolve the issue 😞

                          * APP_ENV=production
                          * APP_DOMAIN=app.tld.ld (adjusted to same value as APP_URL)
                          * QUEUE_CONNECTION=redis
                          * CACHE_DRIVER=redis
                          * SESSION_DRIVER=redis
                          * MIXPOST_FORGOT_PASSWORD=true
                          * MIXPOST_TWO_FACTOR_AUTH=true
                          * MIXPOST_DEFAULT_LOCALE=de-DE (adjusted to en-US)
                          
                          andreasduerenA Offline
                          andreasduerenA Offline
                          andreasdueren
                          wrote on last edited by andreasdueren
                          #156

                          @humptydumpty said in Mixpost:

                          Thanks @andreasdueren I have a lot of missing entries compared to yours. Somehow none of these got set up on a fresh Mixpost install, but adding them didn't resolve the issue 😞

                          * APP_ENV=production
                          * APP_DOMAIN=app.tld.ld (adjusted to same value as APP_URL)
                          * QUEUE_CONNECTION=redis
                          * CACHE_DRIVER=redis
                          * SESSION_DRIVER=redis
                          * MIXPOST_FORGOT_PASSWORD=true
                          * MIXPOST_TWO_FACTOR_AUTH=true
                          * MIXPOST_DEFAULT_LOCALE=de-DE (adjusted to en-US)
                          

                          I remember pulling some of these off here. Sorry that didn't help.

                          1 Reply Last reply
                          0
                          • andreasduerenA Offline
                            andreasduerenA Offline
                            andreasdueren
                            wrote on last edited by
                            #157

                            @humptydumpty If you care, I can offer to take a look at your installation and compare to what I'm running to try to troubleshoot.

                            humptydumptyH 1 Reply Last reply
                            0
                            • andreasduerenA andreasdueren

                              @humptydumpty If you care, I can offer to take a look at your installation and compare to what I'm running to try to troubleshoot.

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

                              @andreasdueren I'll take you up on that if I can't figure this out after a fresh install attempt. I won't follow the guide we have on here and will follow the upstream docs this time. It's not a CR issue for sure. I have a ticket opened on Mixpost's Discord, and other non-CR users can't receive emails either.

                              1 Reply Last reply
                              2
                              • David 0D Offline
                                David 0D Offline
                                David 0
                                wrote on last edited by
                                #159

                                any news on this yet? I don't want to try hacking this together; I'd like to see Mixpost as an App in the Cloudron App Store 🙂

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • David 0D David 0

                                  any news on this yet? I don't want to try hacking this together; I'd like to see Mixpost as an App in the Cloudron App Store 🙂

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

                                  @David-0 said in Mixpost:

                                  any news on this yet? I don't want to try hacking this together; I'd like to see Mixpost as an App in the Cloudron App Store 🙂

                                  Me too! But I'm not sure anyone is working on that 😞 and the developer didn't really seem to get the need for it once he'd spotted that some people had successfully managed to hack it together themselves 😕

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    actuarch
                                    wrote on last edited by
                                    #161

                                    +1 for Mixpost 🙂

                                    humptydumptyH 1 Reply Last reply
                                    0
                                    • A actuarch

                                      +1 for Mixpost 🙂

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

                                      @actuarch Upvoting here doesn't help. We need to convince Dima (upstream) to get it ready for packaging.

                                      jdaviescoatesJ 1 Reply Last reply
                                      0
                                      • humptydumptyH humptydumpty

                                        @actuarch Upvoting here doesn't help. We need to convince Dima (upstream) to get it ready for packaging.

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

                                        @humptydumpty said in Mixpost:

                                        @actuarch Upvoting here doesn't help. We need to convince Dima (upstream) to get it ready for packaging.

                                        Well, upvoting the actually original post at the top of this thread does help the Cloudron team and other Cloudron users know which apps are most in demand (and could conceivable help convince Dima to help too - although it doesn't require his input, it'd just be great to have it)

                                        I use Cloudron with Gandi & Hetzner

                                        humptydumptyH 1 Reply Last reply
                                        0
                                        • jdaviescoatesJ jdaviescoates

                                          @humptydumpty said in Mixpost:

                                          @actuarch Upvoting here doesn't help. We need to convince Dima (upstream) to get it ready for packaging.

                                          Well, upvoting the actually original post at the top of this thread does help the Cloudron team and other Cloudron users know which apps are most in demand (and could conceivable help convince Dima to help too - although it doesn't require his input, it'd just be great to have it)

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

                                          @jdaviescoates You're right, but Mixpost is a special case. The way the app is structured makes it close to impossible to get it packaged on Cloudron unless Dima wants to change a few things on his end. There's a discussion between Dima and Girish about this somewhere on this forum, might be in this very thread.

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