]> cat aescling's git repositories - mastodon.git/commitdiff
Add file package
authorAngristan <stanislas.lange@protonmail.com>
Tue, 4 Apr 2017 17:23:53 +0000 (19:23 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Apr 2017 17:23:53 +0000 (19:23 +0200)
If the file package is not installed, we get "Validation failed: File has contents that are not what they are reported to be" when upload media.

docs/Running-Mastodon/Production-guide.md

index 469fefa94355568d3dc0268deebeb50c7de09034..a70f174d45684910831bb4bb84fec5c832489188 100644 (file)
@@ -76,7 +76,7 @@ It is recommended to create a special user for mastodon on the server (you could
 ## General dependencies
 
     curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
-    sudo apt-get install imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev nodejs
+    sudo apt-get install imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev nodejs file
     sudo npm install -g yarn
 
 ## Redis