Commit Graph

326 Commits

Author SHA1 Message Date
Stanislas 34d9b15b74 Add Docker instructions for "Using a separate Redis for the Rails cache" (#629) 2018-08-23 21:26:38 +02:00
davidpgil a0b4ac658e Show How To Become Root (#676)
* Show How To Become Root

I just realized I could not do certain things from a sudo. I needed to be root via "sudo /bin/bash". I know this is a trival issue, but I am intermediate at handling the terminal and needed to know this.

* Revise Command Used To Become Root

Revised 'sudo /bin/bash' to 'sudo -i' to become root
2018-08-23 19:44:03 +02:00
aus-social a31cd220ee Follow production best practice (#679)
I've deployed from master and didn't checkout a stable release tag....
2018-08-23 18:19:00 +02:00
ThibG 0f1da2392e Fix sidekiq queues ordering in production guide (#673)
* Fix sidekiq queues ordering in production guide

The ordering defines the priority, and the code expects default > push > pull > mailers

* Swap mailers and pull queues

The `mailers` queue contains all kinds of notifications, it's probably more important than `pull` jobs.
2018-08-23 13:37:36 +02:00
skylerbunny 8c4531cf7b Update rbenv ruby version (#671) 2018-08-20 20:08:10 +02:00
skylerbunny daee09cc56 Add pointer to Docker updating instructions (#669)
Making clear that this document is used to update a Mastodon instance that is not containerized with Docker, and shows a reader where to find Docker specific updating instructions, since those are not present in this document.
2018-08-20 14:17:58 +02:00
mazzomaz cb76627c52 Update Production-guide.md (#664)
Added information about the necessary extension of the sources.list file when using Ubuntu 18.04.1 LTS
2018-08-19 03:18:02 +02:00
Luclu7 d9ecbee47d Still some 16.04 stuff (#663)
The first line wasn't changed to 18.04
2018-08-14 15:51:16 +02:00
Nolan Lawson 568a67ef2f Update migration guide with better Postgres instructions (#659)
If the Postgres username is different on the old server and the new server, then the previous migration guide was not correct. This fixes that.
2018-08-09 15:30:09 +02:00
Francis f1c0dea836 Update production guide for Ubuntu 18.04 (#608)
* Update production guide for Ubuntu 18.04

Also bump nodejs to 8.x

* letsencrypt tool is now certbot in 18.04
2018-08-03 00:10:12 +02:00
Eugen Rochko f92195ca83
Update to Node 8.x 2018-07-17 17:44:21 +02:00
Nicolas CARPi cea31fe54e Prepend "bundle exec" to rake commands in docker (#639)
See issue #7782
2018-06-15 11:16:35 +02:00
Renato "Lond" Cerqueira e373d2808c Update Resources-needed.md (#633)
* Update Resources-needed.md

Add masto.donte.com.br resources, put each instance in it's own table

* Update Resources-needed.md

Revert putting each instance on it's own table
2018-06-06 18:10:14 +02:00
Eugen Rochko 734d3a41b7
Fix ALTER USER statement 2018-05-28 19:57:35 +02:00
Themanwhoisit 7c7e457ca2 Change Ruby version. (#627)
Change Ruby version.
2018-05-25 21:36:30 +02:00
Eugen Rochko eeb1ef9609
Update Tuning.md 2018-05-23 00:42:15 +02:00
Eugen Rochko 8515bb74ec
Update Tuning.md 2018-05-23 00:38:23 +02:00
Eugen Rochko b9940be76d
Update Tuning.md 2018-05-23 00:33:34 +02:00
Eugen Rochko 0bae8f75cf
Update Resources-needed.md 2018-05-19 22:09:27 +02:00
Eugen Rochko cbe68d6692
Filled out "default" values with what the defaults really are atm 2018-05-19 22:07:58 +02:00
Eugen Rochko ae85d8732b
Unite table 2018-05-19 19:49:08 +02:00
lawremipsum 86e79485c2 Add MSPSocial.net (#620) 2018-05-19 19:48:17 +02:00
MIYAGI Hikaru dc430510c2 fix typo (#618) 2018-05-19 04:53:36 +02:00
Eugen Rochko 1d2cf81e82
Add documentation on how to use nginx proxy cache 2018-05-19 02:11:34 +02:00
asonix df5d827bd5 Add asonix.dog (#616) 2018-05-18 02:47:00 +02:00
Casper 519f6c49ec Update Vagrant-guide.md (#612)
Just tested running `vagrant up --provider virtualbox` and it did not download the Ubuntu 14.04 base image, it downloaded xenial64, which is 16.04. Hopefully you will edit this :)
2018-05-15 20:17:48 +02:00
Eugen Rochko d5e136b3d7
Update Resources-needed.md 2018-05-15 19:51:52 +02:00
Eugen Rochko 4e3e065fd5
Add info about mastodon.social (#613) 2018-05-15 19:49:16 +02:00
Eugen Rochko 60108e0bb0
Use systemctl consistently 2018-05-15 17:06:56 +02:00
Eugen Rochko 3140777106
Add info about userlist behaviour 2018-05-15 17:05:54 +02:00
Lukáš Lánský 90f70e0b68 Adding copy config step (#596)
* Adding copy config step

As discussed in #591, docker will refuse to run the `mastodon:setup` step without some configuration file present.

* The secret generation part of docker installation process

As noticed in #6883, you need to generate the keys manually.

* Setting correct file owner is important even in the prebuilt-image case

... as evidenced by issue #6911

* This step should not be necessary -- let's fix the installation instead
2018-05-09 10:57:16 +02:00
Kevin Liu 18cbb6b6f8 Fix typo in /api/v1/instance/activity (#597) 2018-04-16 23:49:47 +02:00
Felix Schäfer d9ea83d908 Update Production-guide.md (#585) 2018-03-31 16:36:47 +02:00
Angristan 5f546d1999 Fix typo (#578) 2018-03-28 11:43:28 +02:00
Eugen Rochko ffeb3edce1
Use git fetch instead of git pull 2018-03-27 12:44:14 +02:00
Akihiko Odaki 8ab12a626e Limit client max body size in the nginx configuration example (#579)
As Mastodon temporaliry saves uploaded content to memory and disk (if
/tmp is a disk), unlimiting client max body size makes the server
vulnerable to DoS attack.
2018-03-24 11:55:59 +01:00
RosaEinhorn 42e5e85445 Update Docker-Guide.md (#577) 2018-03-20 23:23:20 +01:00
Effy Elden 64328425db Update Docker Guide to point to hub/tootsuite instead of hub/gargron (#576) 2018-03-20 13:44:26 -04:00
DJ Sundog 5bb2383e59 Add mastodon:maintenance:purge_removed_accounts (#574)
Add documentation for rake task to remove accounts that no longer exist on their home instance.
2018-03-17 02:37:13 +01:00
Jeroen 8ebb4c21fd apt install openjdk-8-jre-headless (#571)
Without headless a lot of (for a server) unneeded dependencies needs be installed (on Debian stretch), like icon sets and x11-utils. Elasticsearch works without problems when you only install openjdk-8-jre-headless (that has much less dependencies).
2018-03-11 18:24:32 -04:00
Hugh Messenger 05e6419a57 Added chewy:deploy to list of rake tasks (#570)
Not sure about the wording, but wanted to get this one on the list.
2018-03-10 14:38:29 +01:00
Mike Barnes 1f389ae068 Rearrange documentation flow (#569)
Consolidated all basic configuration steps for the ideal case to top of document, moved all memory-related and "advanced" configuration to bottom. Removed remote Elasticsearch config from document entirely and replaced it with a link to ES documentation on the topic instead.
2018-03-10 12:18:25 +01:00
Angristan adc1f244e3 Fix grammar (#568)
* Fix grammar

* Other fixes

* Other fixes
2018-03-09 21:23:02 +01:00
NCLS a1cfdf65e5 Fix grammar mistake (#566) 2018-03-09 18:38:06 +01:00
NCLS 711dfc4fa7 Fix small typo (#565) 2018-03-09 17:34:21 +01:00
NCLS fdc409d2df Add Elasticsearch Guide (#564)
* Add initial elasticsearch guide

* Add elasticsearch guide link to README.md

* Add chewy:deploy
2018-03-09 17:15:17 +01:00
Eugen Rochko 5107618bdd Update production guide in preparation for 2.3.0 (#562)
* Update production guide in preparation for 2.3.0

* Update Production-guide.md
2018-03-09 12:14:14 +01:00
Eugen Rochko 85b4343e07
Update Administration-guide.md 2018-03-09 12:04:45 +01:00
Eugen Rochko ceaa847cbb
Update Docker guide in preparation for 2.3.0 (#561) 2018-03-09 11:56:08 +01:00
Akihiko Odaki 845ed4ad99 Use db:setup instead of db:migrate when creating the database (#560)
db:setup is used in all guides except Docker Guide, which uses db:migrate
to create the database. db:setup is actually superior over db:migrate for
the purpose in terms of performance and compatibility.

db:setup is performant because it does not perform redundant migrations.
db:migrate, on the other hand, executes migration code which will be
dismissed by later migrations. db:migrate also waits for seconds to allow
to interrupt migrations if it is not favorable to run them on a running
server, but db:setup is obviously executed on a instance which is not
running yet, and the wait is unnecessary.

db:migrate has a compatibility issue. It requires a compatibility layer
to keep it working, and such one may be broken, or not provided by
dependencies such as Paperclip.

This commit replaces db:migrate with db:setup in the building guide. The
procedure cannot be applied to migration from an older release, where
the old procedure could, but it is not problematic because it has
dedicated Updating section.
2018-03-09 06:41:01 +01:00