Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue delivering emails #6295

Closed
Miaourt opened this issue Jan 18, 2018 · 17 comments

Comments

@Miaourt
Copy link
Contributor

commented Jan 18, 2018

On #7badad7797b487b411a2ab34e0f7413741974bb4

ActionView::Template::Error: Webpacker can't find icon_email.svg in /mastodon/public/packs/manifest.json. Possible causes: 1. You want to set webpacker.yml value of compile to true for your environment...
In sidekiq
Assets have been regerated multiple time, icon_email/reply/blabla.svg, all is in the /images and in the /manifest.json

😕


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on a tagged release and not on master (If you're a user, don't worry about this).
@Gargron

This comment has been minimized.

Copy link
Member

commented Jan 21, 2018

Just as a note, in the latest versions it would complain about icon_email.png, not svg, but it's the same thing. Kind of a mystery to me because if you inspect public/packs/manifest.json, icon_email.png is definitely there.

@Gargron

This comment has been minimized.

Copy link
Member

commented Jan 23, 2018

@unarist Have you experienced this on your instance too?

@lindwurm

This comment has been minimized.

Copy link
Contributor

commented Jan 23, 2018

yes, we have same issue on our instance https://mstdn.maud.io (9b3b40d +α )

@s0r00t

This comment has been minimized.

Copy link

commented Jan 23, 2018

(reposting here; posted in the wrong issue)

I experience this on my newly setup instance, disallowing me from using it, as I can't register myself.

@Miaourt

This comment has been minimized.

Copy link
Contributor Author

commented Jan 23, 2018

Who is using docker here? @lindwurm @s0r00t ?

@Gargron

This comment has been minimized.

Copy link
Member

commented Jan 23, 2018

@s0r00t Please use a stable version of Mastodon instead of master or a release candidate.

@Gargron Gargron referenced this issue Jan 23, 2018
2 of 2 tasks complete
@s0r00t

This comment has been minimized.

Copy link

commented Jan 23, 2018

@Technowix I'm using Docker.
@Gargron Alright, I'm going to checkout the latest release and rebuild.

@lindwurm

This comment has been minimized.

Copy link
Contributor

commented Jan 24, 2018

@Technowix I'm using docker too. now #6348 works fine for me.

@clement-analogue

This comment has been minimized.

Copy link

commented Feb 4, 2018

Hello,

I'm running Mastodon v2.2.0 and I still have this issue.

@Gargron

This comment has been minimized.

Copy link
Member

commented Feb 4, 2018

Look at https://github.com/tootsuite/mastodon/releases/tag/v2.2.0 -> Upgrade Notes -> Docker-only

@clement-analogue

This comment has been minimized.

Copy link

commented Feb 5, 2018

I am not using Docker. I have followed carefully the release notes and have already changed Ruby from 2.4.2 to 2.5.0.

@Gargron

This comment has been minimized.

Copy link
Member

commented Feb 5, 2018

@clement-analogue Have you run assets:precompile and restarted sidekiq? And does sidekiq reside on the same machine as the rest, i.e. with access to public/packs/manifest.json?

@clement-analogue

This comment has been minimized.

Copy link

commented Feb 5, 2018

Have you run assets:precompile and restarted sidekiq?

yes and yes

And does sidekiq reside on the same machine as the rest, i.e. with access to public/packs/manifest.json?

yes. It is a standard standalone installation.

@dethos

This comment has been minimized.

Copy link

commented Mar 7, 2018

I'm also experiencing this issue in my instance. Not using docker and the sidekiq is on the same machine. Lots of Jobs failed with the following messages:

ActionView::Template::Error: Webpacker can't find icon_person_add.png in ...

ActionView::Template::Error: Webpacker can't find icon_cached.png in ...

ActionView::Template::Error: Webpacker can't find icon_grade.png in ...

All of this started when I updated to version 2.2.0, following the instructions present on the release notes.

@ghost

This comment has been minimized.

Copy link

commented Apr 4, 2018

Reproduced on 2.3.3. Same issues as previous/above comment. No emails successfully reaching the SMTP server. Standalone/single server instance.

@Gargron

This comment has been minimized.

Copy link
Member

commented Apr 4, 2018

Make sure webpack actually compiles your assets instead of quitting due to OOM, which could be happening. If you need, you could compile the assets on a different machine then upload.

@albjeremias

This comment has been minimized.

Copy link

commented May 28, 2018

I also bumped into this issue... the problem was my docker-compose... sidekiq was pointing the volume of the packs to the wrong place... web and sidekiq should point to the sameplace!

before:

...
    volumes:
      - ${STORAGE}/assets:/mastodon/public/assets
      - ${STORAGE}/packs:/mastodon/public/packs
      - ${STORAGE}/public/system:/mastodon/public/system
...
sidekiq:
...
    volumes:
      - ${STORAGE}/public/packs:/mastodon/public/packs
      - ${STORAGE}/public/system:/mastodon/public/system

after:

...
    volumes:
      - ${STORAGE}/assets:/mastodon/public/assets
      - ${STORAGE}/packs:/mastodon/public/packs
      - ${STORAGE}/public/system:/mastodon/public/system
...
sidekiq:
...
    volumes:
-      - ${STORAGE}/public/packs:/mastodon/public/packs
+      - ${STORAGE}/packs:/mastodon/public/packs
      - ${STORAGE}/public/system:/mastodon/public/system

btw...
$ docker-compose restart won't be enough..
you'll have to do $ docker-compose down && docker-compose up -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.