Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
funkwhale
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siren
funkwhale
Commits
e981f005
Unverified
Commit
e981f005
authored
Apr 25, 2020
by
Tony Wasserka
Committed by
Agate
May 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling of "occurrences"
parent
9f1da096
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
CHANGELOG
CHANGELOG
+2
-2
api/funkwhale_api/federation/management/commands/fix_federation_ids.py
..._api/federation/management/commands/fix_federation_ids.py
+1
-1
docs/admin/url.rst
docs/admin/url.rst
+1
-1
No files found.
CHANGELOG
View file @
e981f005
...
...
@@ -1952,11 +1952,11 @@ existing instance, do a backup of your ``.env`` and ``docker-compose.yml`` files
- Ensure MUSIC_DIRECTORY_SERVE_PATH is uncommented and set to the absolute path on your host were your music files
are stored (``/srv/funkwhale/data/music`` by default)
- Edit your docker-compose.yml file to reflect the changes:
- Search for volumes (there should be two occurences) that contains ``/app/funkwhale_api/media`` on the right side, and
- Search for volumes (there should be two occur
r
ences) that contains ``/app/funkwhale_api/media`` on the right side, and
replace the whole line with ``- "${MEDIA_ROOT}:${MEDIA_ROOT}"``
- Search for a volume that contains ``/app/staticfiles`` on the right side, and
replace the whole line with ``- "${STATIC_ROOT}:${STATIC_ROOT}"``
- If you use in-place import, search for volumes (there should be two occurences) that contains ``/music:ro`` on the right side, and
- If you use in-place import, search for volumes (there should be two occur
r
ences) that contains ``/music:ro`` on the right side, and
replace the whole line with ``- "${MUSIC_DIRECTORY_SERVE_PATH}:${MUSIC_DIRECTORY_PATH}:ro"``
In the end, the ``volumes`` directives of your containers should look like that::
...
...
api/funkwhale_api/federation/management/commands/fix_federation_ids.py
View file @
e981f005
...
...
@@ -78,7 +78,7 @@ class Command(BaseCommand):
if
total
:
self
.
stdout
.
write
(
self
.
style
.
WARNING
(
"Will replace {} found occurences of '{}' by '{}':"
.
format
(
"Will replace {} found occur
r
ences of '{}' by '{}':"
.
format
(
total
,
old_prefix
,
new_prefix
)
)
...
...
docs/admin/url.rst
View file @
e981f005
...
...
@@ -22,7 +22,7 @@ Example output:
python manage.py fix_federation_ids https://old-url https://new-url --no-dry-run --no-input
# Output
Will replace 108 found occurences of 'https://old-url' by 'https://new-url':
Will replace 108 found occur
r
ences of 'https://old-url' by 'https://new-url':
- 20 music.Artist
- 13 music.Album
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment