diff options
| author | yalh76 <yalh@yahoo.com> | 2022-01-28 20:28:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-28 20:28:33 +0100 |
| commit | b2e89a55dfa2102faf300d95d615f9f3ac1aac5b (patch) | |
| tree | 419564b62f0afe08d88a5528e825ba899c86ecfc /scripts/upgrade | |
| parent | 0becd5049e4f5858c79e012934d557dbaa8706a6 (diff) | |
| parent | 952642c6c3702080b04ef13867240d22de77b6e2 (diff) | |
| download | mastodon_ynh-b2e89a55dfa2102faf300d95d615f9f3ac1aac5b.tar.gz mastodon_ynh-b2e89a55dfa2102faf300d95d615f9f3ac1aac5b.tar.bz2 mastodon_ynh-b2e89a55dfa2102faf300d95d615f9f3ac1aac5b.zip | |
Merge pull request #299 from Tagadda/fix-bullseye
[enh] Workaround for bullseye
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index ea95ffa..1c24a62 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -270,15 +270,15 @@ ynh_add_systemd_config --service="$app-streaming" --template="mastodon-streaming ynh_script_progression --message="Upgrading Mastodon..." pushd "$final_path/live" - ynh_exec_as $app $ynh_ruby_load_path bin/bundle config deployment 'true' - ynh_exec_as $app $ynh_ruby_load_path bin/bundle config without 'development test' - ynh_exec_as $app $ynh_ruby_load_path bin/bundle install -j$(getconf _NPROCESSORS_ONLN) + ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config deployment 'true' + ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test' + ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN) ynh_use_nodejs ynh_exec_as $app $ynh_node_load_PATH yarn install --pure-lockfile - ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path bin/bundle exec rails assets:clean - ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path bin/bundle exec rails assets:precompile - ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path bin/bundle exec rails db:migrate - ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path bin/tootctl cache clear + ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:clean + ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile + ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails db:migrate + ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl cache clear popd #================================================= |
