MailJet Discourse Mail not being received

Hi,

So I have setup my discourse server and I am attempting to register the admin user but I don’t receive the email I have run discourse doctor and I get this:

./launcher: line 228: /1024**3 < 5: syntax error: operand expected (error token is "/1024**3 < 5")

Anyone know what it means?

Also in mail jet I have verified my domain

I am using port 587

The address I setup for admin is webmaster@ariops.org.uk

I ran tail shared/standalone/log/rails/production.log

Got this:

    Delivered mail 041d1c62-eeba-4323-bc7b-b91b5c5ead7d@community.ariops.org.uk (30012.4ms)
Job exception: execution expired

  Rendering layouts/email_template.html.erb
  Rendered layouts/email_template.html.erb (Duration: 0.2ms | Allocations: 20)
Delivered mail 7eed2494-1804-44c5-8fb5-70527880f4fb@community.ariops.org.uk (30005.3ms)
Job exception: execution expired

  Rendering layouts/email_template.html.erb
  Rendered layouts/email_template.html.erb (Duration: 0.1ms | Allocations: 20)
alpine-ariops-discourse:/var/discourse# ./launcher enter app
stat: unrecognized option: format=%a*%S
BusyBox v1.31.1 () multi-call binary.

Usage: stat [OPTIONS] FILE...

Display file (default) or filesystem status

        -c FMT  Use the specified format
        -f      Display filesystem status
        -L      Follow links
        -t      Terse display

FMT sequences for files:
 %a     Access rights in octal
 %A     Access rights in human readable form
 %b     Number of blocks allocated (see %B)
 %B     Size in bytes of each block reported by %b
 %d     Device number in decimal
 %D     Device number in hex
 %f     Raw mode in hex
 %F     File type
 %g     Group ID
 %G     Group name
 %h     Number of hard links
 %i     Inode number
 %n     File name
 %N     File name, with -> TARGET if symlink
 %o     I/O block size
 %s     Total size in bytes
 %t     Major device type in hex
 %T     Minor device type in hex
 %u     User ID
 %U     User name
 %x     Time of last access
 %X     Time of last access as seconds since Epoch
 %y     Time of last modification
 %Y     Time of last modification as seconds since Epoch
 %z     Time of last change
 %Z     Time of last change as seconds since Epoch

FMT sequences for file systems:
 %a     Free blocks available to non-superuser
 %b     Total data blocks
 %c     Total file nodes
 %d     Free file nodes
 %f     Free blocks
 %i     File System ID in hex
 %l     Maximum length of filenames
 %n     File name
 %s     Block size (for faster transfer)
 %S     Fundamental block size (for block counts)
 %t     Type in hex
 %T     Type in human readable form
./launcher: line 228: /1024**3 < 5: syntax error: operand expected (error token is "/1024**3 < 5")
root@alpine-ariops-discourse-app:/var/www/discourse# 

Any Ideas as far as I am aware SPF and DKIM are correctly setup in Cloudflare

1 Like

Looks like a syntax error on line 228? Perhaps your version of Linux is somehow incompatible with the launcher script. What distribution and version?

1 Like

Alpine linux 3.11

Solutions to resolve

1 Like