Skip to content

Problems with Statamic Install #10487

Answered by mikeschinkel
mikeschinkel asked this question in Q&A
Discussion options

You must be logged in to vote

Missing Control Panel Assets including manifest.json

The second problem — the blocker — was much harder to track down and diagnose.

For the answer to the first problem — Serving HTTPS URLs — see here.


TLDR; Running composer create-project in docker build disables plugins and thus fails to load pixelfear/composer-dist-plugin and thus fails to copy over the dist assets, thus causing the control panel to throw blocking errors.

The solutions are to either:

  1. Set ENV COMPOSER_ALLOW_SUPERUSER=1 before RUN ..., OR
  2. Wrap either RUN composer create-project ... or RUN statamic new ... in RUN script -q -c "<command goes here>".

Both of the above will stop Composer from disabling plugins during docke…

Replies: 5 comments 37 replies

Comment options

You must be logged in to vote
9 replies
@mikeschinkel
Comment options

@edalzell
Comment options

@mikeschinkel
Comment options

@mikeschinkel
Comment options

@mikeschinkel
Comment options

Comment options

You must be logged in to vote
11 replies
@mikeschinkel
Comment options

@edalzell
Comment options

@mikeschinkel
Comment options

@mikeschinkel
Comment options

@mikeschinkel
Comment options

Comment options

You must be logged in to vote
12 replies
@edalzell
Comment options

@sjclark
Comment options

@mikeschinkel
Comment options

@mikeschinkel
Comment options

@gymnae
Comment options

Comment options

You must be logged in to vote
4 replies
@jackmcdade
Comment options

@jasonvarga
Comment options

@mikeschinkel
Comment options

@mikeschinkel
Comment options

Answer selected by mikeschinkel
Comment options

You must be logged in to vote
1 reply
@duncanmcclean
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants