aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorpanomaki <p45+github@freedom.nl>2022-11-17 16:12:35 +0100
committerGitHub <noreply@github.com>2022-11-17 16:12:35 +0100
commit4d02a31b97c9ca29b4f4c5f121015317744b3d94 (patch)
tree5a12f7810eb103d5141ad4d016763bec0eaaf538 /scripts/install
parent8892a825cf3e9321004449c805a8dd26fb05e4fa (diff)
downloadmastodon_ynh-4d02a31b97c9ca29b4f4c5f121015317744b3d94.tar.gz
mastodon_ynh-4d02a31b97c9ca29b4f4c5f121015317744b3d94.tar.bz2
mastodon_ynh-4d02a31b97c9ca29b4f4c5f121015317744b3d94.zip
Fix install bug on 4.0.2
Fixed install issue (#344/#345) by applying the fix mentioned in this issue: https://github.com/mastodon/mastodon/issues/18813. Tested on local machine, install now seems to work. Please review/test.
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index fbeb73d..6df1759 100644
--- a/scripts/install
+++ b/scripts/install
@@ -194,7 +194,7 @@ pushd "$final_path/live"
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails db:setup --quiet
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile --quiet
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rake mastodon:webpush:generate_vapid_key > key.txt
- ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > /dev/null
+ ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=Admin > /dev/null
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts modify "$admin" --approve
popd