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
  • Brite
  • 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. Invoice Ninja
  3. Unable to send an email: 404 page not found (code 404)

Unable to send an email: 404 page not found (code 404)

Scheduled Pinned Locked Moved Invoice Ninja
17 Posts 3 Posters 510 Views 3 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.
  • J Offline
    J Offline
    joseph
    Staff
    wrote last edited by
    #8

    @AartJansen can you help us reproduce this in a fresh installation? If you can outline the steps, we can debug it from there.

    1 Reply Last reply
    1
    • A Offline
      A Offline
      AartJansen
      wrote last edited by
      #9

      If you want I can turn on the ssh for support on my install to check the logs, etc ?
      Basically I'm not sure why it stopped, or exactly when, it didn't become apparent until I tried sending an invoice, and it "bounced".
      The upstream issue was similar but not identical.
      Eventually I went to settings to specify the mail server, fixed an issue with the account I was using still having admin@cludron.local as an email address, and mail was successfully going out again. i thought this setting was blank previously, but honestly cannot recall exactly.Screenshot 2025-09-10 141951.jpg
      I also tried the command in the github issue

      php artisan queue:work database --queue=scout
      

      Seemed to run ok, but the queue is still the same

      jamesJ 1 Reply Last reply
      0
      • A AartJansen

        If you want I can turn on the ssh for support on my install to check the logs, etc ?
        Basically I'm not sure why it stopped, or exactly when, it didn't become apparent until I tried sending an invoice, and it "bounced".
        The upstream issue was similar but not identical.
        Eventually I went to settings to specify the mail server, fixed an issue with the account I was using still having admin@cludron.local as an email address, and mail was successfully going out again. i thought this setting was blank previously, but honestly cannot recall exactly.Screenshot 2025-09-10 141951.jpg
        I also tried the command in the github issue

        php artisan queue:work database --queue=scout
        

        Seemed to run ok, but the queue is still the same

        jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #10

        Hello @AartJansen

        So you have tinkered with the mailing settings and have queue issues now?

        @AartJansen said in Unable to send an email: 404 page not found (code 404):

        Eventually I went to settings to specify the mail server, fixed an issue with the account I was using still having admin@cludron.local as an email address, and mail was successfully going out again. i thought this setting was blank previously, but honestly cannot recall exactly

        Can you please share a screenshot of your /settings/email_settings invoice ninja settings?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AartJansen
          wrote last edited by
          #11

          image.png

          1 Reply Last reply
          0
          • jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #12

            Hello @AartJansen
            May I ask why you are setting this to something else then the default?
            And if you hit SEND TEST EMAIL does it work?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AartJansen
              wrote last edited by
              #13

              Because the default( which looked blank) stopped working, so I tried some other settings, because I needed to send invoices. otherwise I don't eat (lol).
              Yes it works fine.

              1 Reply Last reply
              1
              • jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote last edited by
                #14

                Hello @AartJansen
                I am still unable to reproduce this issue.
                Did you do any other changes? The more details the better.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AartJansen
                  wrote last edited by
                  #15

                  Did I do any other changes to get it working, or to break it ?
                  It was just failing to send invoices 1 september,
                  When I found the 404 error, and looked at the invoice ninja github, Ifound a similar issue logged by another user at the same time.
                  I found the other users attempt to run a php command to trigger the queue, which appeared to work in console, but made no difference to the health report screen. Also I added SCOUT_DRIVER=null to the env file.
                  It wasn't until I changed the email settings to use SMTP, and corrected the default email address of the admin account, to my actual address, that sending invoices again worked for me.

                  jamesJ 1 Reply Last reply
                  0
                  • A AartJansen

                    Did I do any other changes to get it working, or to break it ?
                    It was just failing to send invoices 1 september,
                    When I found the 404 error, and looked at the invoice ninja github, Ifound a similar issue logged by another user at the same time.
                    I found the other users attempt to run a php command to trigger the queue, which appeared to work in console, but made no difference to the health report screen. Also I added SCOUT_DRIVER=null to the env file.
                    It wasn't until I changed the email settings to use SMTP, and corrected the default email address of the admin account, to my actual address, that sending invoices again worked for me.

                    jamesJ Offline
                    jamesJ Offline
                    james
                    Staff
                    wrote last edited by
                    #16

                    Hello @AartJansen

                    @AartJansen said in Unable to send an email: 404 page not found (code 404):

                    Did I do any other changes to get it working, or to break it ?

                    Before 01. September, did you do any changes that might have had an impact?

                    @AartJansen said in Unable to send an email: 404 page not found (code 404):

                    It wasn't until I changed the email settings to use SMTP, and corrected the default email address of the admin account, to my actual address, that sending invoices again worked for me.

                    This is odd. I've tried multiple times to reproduce this issue and all default worked fine.
                    But, if I read this correctly, it is now working and the only issue now is the health report that still displays the errors from 01. September.
                    Did I get this right?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      AartJansen
                      wrote last edited by
                      #17

                      No I didn't change any settings, just have automatic updates enabled, so thought that the updates had triggered the problem.
                      Yes thats correct, I'm not sure what the default setting is for email, and the only issue I can find is the health report error to do with queued jobs.

                      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