Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Walko
funkwhale
Commits
46d52939
Verified
Commit
46d52939
authored
6 years ago
by
wxcafé
Browse files
Options
Downloads
Patches
Plain Diff
adds funkwhale user authorization for postgres
parent
19c5c8ab
No related branches found
Branches containing commit
Tags
0.9
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/installation/external_dependencies.rst
+14
-4
14 additions, 4 deletions
docs/installation/external_dependencies.rst
with
14 additions
and
4 deletions
docs/installation/external_dependencies.rst
+
14
−
4
View file @
46d52939
...
...
@@ -45,15 +45,25 @@ Create the project database and user:
CREATE USER funkwhale;
GRANT ALL PRIVILEGES ON DATABASE funkwhale TO funkwhale;
Assuming you already have :ref:`created your funkwhale user <create-funkwhale-user>`,
you should now be able to open a postgresql shell:
.. warning::
It's import
ing
that you use utf-8 encoding for your database,
It's import
ant
that you use utf-8 encoding for your database,
otherwise you'll end up with errors and crashes later on when dealing
with music metedata that contains non-ascii chars.
On Debian you will also need to allow the funkwhale unix user to access the database:
.. code-block:: shell
cat | sudo tee -a /etc/postgresql/9.5/main/pg_hba.conf << EOF
local all funkwhale peer
EOF
sudo systemctl restart postgresql
Assuming you already have :ref:`created your funkwhale user <create-funkwhale-user>`,
you should now be able to open a postgresql shell:
.. code-block:: shell
sudo -u funkwhale -H psql
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment