-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Missing part of Production-guide #512
Comments
|
the db:migrate solved my problems and created the missing tables. |
@scroom Was this the error/message you were getting when trying to run
Update |
@jmwright Yes, I've got the error message when trying to run db:setup. As mentioned, running db:migrate solved the problem for me. Anyway the guide doesn't seem to be correct at this point. |
the first issue isn't one, your hoster is probably customizing the ubuntu image. Mastodon works only on UTF-8, as should everything since like 2005. the second issue is caused by the error you got, which you didn't copy. I'll try to reproduce that tomorrow by installing a new mastodon VM. |
@jwynn6 you were having the local encoding error? or the SAFTEY_ASSURED error? this ticket has discussed multiple issues at this point. |
The safety_assured error.
…On January 17, 2018 2:13:16 PM EST, nightpool ***@***.***> wrote:
@jwynn6 you were having the local encoding error? or the SAFTEY_ASSURED
error?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#512 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
I've gotten this same SAFETY_ASSURED error. With 2.3.0, the setup wizard would go to the next task even though db:setup gave an error. The only way to fix it would be to run @jmwright updated command But this way the subsequent command The aforementioned error: Now that configuration is saved, the database schema must be loaded. Database 'mastodon_production' already exists Tasks: TOP => db:schema:load => strong_migrations:safety_assured (See full trace by running task with --trace) That failed! Perhaps your configuration is not right The final step is compiling CSS/JS assets. |
So now since I have no Admin account during creation, how do I set one up? |
I'm having problems during mstodon setup when it says I understand I have to run the same command with the environment variable: However I'm not typing that command, it is part of the command My question is how can Irun that command or modified envirnemnt variables. I tried this, without different results:
Any guidance will be appreciated. |
You have to run the command with
|
Hi,
I've tried to install Mastodon following the production-guide and discovered some problems:
You should check your locales before beginning. They should be set to an UTF-8 encoding. Mine has been set to en_US which caused problems when creating the database.
You have to run
RAILS_ENV=production bundle exec rails db:migrate
. Otherwise the installation won't work.Would be fine to have some links to other tutorials: (howto create the about page ...)
The text was updated successfully, but these errors were encountered: