Skip to content

Commit

Permalink
New Crowdin updates (#37)
Browse files Browse the repository at this point in the history
* New translations external-api.md (French)

* New translations external-api.md (Czech)

* New translations external-api.md (Russian)

* New translations security-and-privacy.md (Russian)

* New translations how-to-play-media.md (Russian)

* New translations how-to-solve-connection-problems.md (Russian)

* New translations how-to-use-the-fully-played-feature.md (Russian)

* New translations docker.md (Romanian)

* New translations docker.md (French)

* New translations docker.md (Spanish)

* New translations docker.md (Afrikaans)

* New translations docker.md (Arabic)

* New translations docker.md (Bulgarian)

* New translations docker.md (Catalan)

* New translations docker.md (Czech)

* New translations docker.md (Danish)

* New translations docker.md (German)

* New translations docker.md (Greek)

* New translations docker.md (Finnish)

* New translations docker.md (Hebrew)

* New translations docker.md (Hungarian)

* New translations docker.md (Italian)

* New translations docker.md (Japanese)

* New translations docker.md (Korean)

* New translations docker.md (Dutch)

* New translations docker.md (Norwegian)

* New translations docker.md (Polish)

* New translations docker.md (Portuguese)

* New translations docker.md (Russian)

* New translations docker.md (Slovak)

* New translations docker.md (Slovenian)

* New translations docker.md (Serbian (Cyrillic))

* New translations docker.md (Swedish)

* New translations docker.md (Turkish)

* New translations docker.md (Ukrainian)

* New translations docker.md (Chinese Simplified)

* New translations docker.md (Chinese Traditional)

* New translations docker.md (Vietnamese)

* New translations docker.md (Icelandic)

* New translations docker.md (Portuguese, Brazilian)

* New translations docker.md (Persian)

* New translations docker.md (Bengali)

* New translations docker.md (Thai)

* New translations docker.md (Croatian)

* New translations docker.md (Estonian)

* New translations docker.md (English, United Kingdom)

* New translations intro.md (Estonian)

* New translations _category_.json (Russian)

* New translations _category_.json (Estonian)

* New translations _category_.json (Russian)

* New translations _category_.json (Russian)

* New translations _category_.json (Estonian)
  • Loading branch information
SubJunk authored Nov 1, 2023
1 parent 41c5bd6 commit 13612b8
Show file tree
Hide file tree
Showing 52 changed files with 938 additions and 1,094 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ sudo usermod -a -G docker <username>;
Re-login or restart the machine.

```
sudo mkdir /srv/UMS;
sudo chcon -t svirt_sandbox_file_t /srv/UMS;
sudo chown core:docker /srv/UMS;
sudo su -;
mkdir /srv/UMS;
chcon -t svirt_sandbox_file_t /srv/UMS;
chgrp docker /srv/UMS;
chmod -R g+w /srv/UMS;
```

Mount storage to host and link into that directory, probably read-only.
Mount storage to host and link into that directory, probably read-only. `mount <Videos-Share> '/srv/UMS/Videos'`

Test example: Simple symlinking to another path on the host system may not work, since there will be no access to it outside of the mounted volume path for the docker container. Try copying files inside this location instead.

## Container Setup

Expand All @@ -42,15 +45,9 @@ Expose/forward these ports from the host: 1044, 5001, 9001.
The following scripts accomplish that (using the fish shell):
```
sudo su -;
set rootDir "/home/UMS/.config/UMS";
set rootDir "$HOME/.config/UMS";
mkdir -p "$rootDir/data";
for file in "UMS.conf" "WEB.conf" "ffmpeg.webfilters"
wget -P "$rootDir" \
"https://raw.githubusercontent.com/UniversalMediaServer/UniversalMediaServer/master/src/main/external-resources/$file" \
;
end
docker pull universalmediaserver/ums;
docker create --name UMS \
Expand Down Expand Up @@ -93,20 +90,19 @@ Strangely this is not an issue on Fedora Workstation, but I guess installing it

## References

- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841#issuecomment-672849793
- https://docs.docker.com/engine/install/fedora/
- https://docs.docker.com/engine/install/fedora/#install-using-the-repository
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://pkgs.org/download/docker-ce
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://support.universalmediaserver.com/
- https://www.universalmediaserver.com/download/#docker
- https://www.universalmediaserver.com/forum/viewtopic.php?t=12922
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://www.universalmediaserver.com/forum/viewtopic.php?p=47952
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ sudo usermod -a -G docker <username>;
Re-login or restart the machine.

```
sudo mkdir /srv/UMS;
sudo chcon -t svirt_sandbox_file_t /srv/UMS;
sudo chown core:docker /srv/UMS;
sudo su -;
mkdir /srv/UMS;
chcon -t svirt_sandbox_file_t /srv/UMS;
chgrp docker /srv/UMS;
chmod -R g+w /srv/UMS;
```

Mount storage to host and link into that directory, probably read-only.
Mount storage to host and link into that directory, probably read-only. `mount <Videos-Share> '/srv/UMS/Videos'`

Test example: Simple symlinking to another path on the host system may not work, since there will be no access to it outside of the mounted volume path for the docker container. Try copying files inside this location instead.

## Container Setup

Expand All @@ -42,15 +45,9 @@ Expose/forward these ports from the host: 1044, 5001, 9001.
The following scripts accomplish that (using the fish shell):
```
sudo su -;
set rootDir "/home/UMS/.config/UMS";
set rootDir "$HOME/.config/UMS";
mkdir -p "$rootDir/data";
for file in "UMS.conf" "WEB.conf" "ffmpeg.webfilters"
wget -P "$rootDir" \
"https://raw.githubusercontent.com/UniversalMediaServer/UniversalMediaServer/master/src/main/external-resources/$file" \
;
end
docker pull universalmediaserver/ums;
docker create --name UMS \
Expand Down Expand Up @@ -93,20 +90,19 @@ Strangely this is not an issue on Fedora Workstation, but I guess installing it

## References

- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841#issuecomment-672849793
- https://docs.docker.com/engine/install/fedora/
- https://docs.docker.com/engine/install/fedora/#install-using-the-repository
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://pkgs.org/download/docker-ce
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://support.universalmediaserver.com/
- https://www.universalmediaserver.com/download/#docker
- https://www.universalmediaserver.com/forum/viewtopic.php?t=12922
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://www.universalmediaserver.com/forum/viewtopic.php?p=47952
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ sudo usermod -a -G docker <username>;
Re-login or restart the machine.

```
sudo mkdir /srv/UMS;
sudo chcon -t svirt_sandbox_file_t /srv/UMS;
sudo chown core:docker /srv/UMS;
sudo su -;
mkdir /srv/UMS;
chcon -t svirt_sandbox_file_t /srv/UMS;
chgrp docker /srv/UMS;
chmod -R g+w /srv/UMS;
```

Mount storage to host and link into that directory, probably read-only.
Mount storage to host and link into that directory, probably read-only. `mount <Videos-Share> '/srv/UMS/Videos'`

Test example: Simple symlinking to another path on the host system may not work, since there will be no access to it outside of the mounted volume path for the docker container. Try copying files inside this location instead.

## Container Setup

Expand All @@ -42,15 +45,9 @@ Expose/forward these ports from the host: 1044, 5001, 9001.
The following scripts accomplish that (using the fish shell):
```
sudo su -;
set rootDir "/home/UMS/.config/UMS";
set rootDir "$HOME/.config/UMS";
mkdir -p "$rootDir/data";
for file in "UMS.conf" "WEB.conf" "ffmpeg.webfilters"
wget -P "$rootDir" \
"https://raw.githubusercontent.com/UniversalMediaServer/UniversalMediaServer/master/src/main/external-resources/$file" \
;
end
docker pull universalmediaserver/ums;
docker create --name UMS \
Expand Down Expand Up @@ -93,20 +90,19 @@ Strangely this is not an issue on Fedora Workstation, but I guess installing it

## References

- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841#issuecomment-672849793
- https://docs.docker.com/engine/install/fedora/
- https://docs.docker.com/engine/install/fedora/#install-using-the-repository
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://pkgs.org/download/docker-ce
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://support.universalmediaserver.com/
- https://www.universalmediaserver.com/download/#docker
- https://www.universalmediaserver.com/forum/viewtopic.php?t=12922
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://www.universalmediaserver.com/forum/viewtopic.php?p=47952
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ sudo usermod -a -G docker <username>;
Re-login or restart the machine.

```
sudo mkdir /srv/UMS;
sudo chcon -t svirt_sandbox_file_t /srv/UMS;
sudo chown core:docker /srv/UMS;
sudo su -;
mkdir /srv/UMS;
chcon -t svirt_sandbox_file_t /srv/UMS;
chgrp docker /srv/UMS;
chmod -R g+w /srv/UMS;
```

Mount storage to host and link into that directory, probably read-only.
Mount storage to host and link into that directory, probably read-only. `mount <Videos-Share> '/srv/UMS/Videos'`

Test example: Simple symlinking to another path on the host system may not work, since there will be no access to it outside of the mounted volume path for the docker container. Try copying files inside this location instead.

## Container Setup

Expand All @@ -42,15 +45,9 @@ Expose/forward these ports from the host: 1044, 5001, 9001.
The following scripts accomplish that (using the fish shell):
```
sudo su -;
set rootDir "/home/UMS/.config/UMS";
set rootDir "$HOME/.config/UMS";
mkdir -p "$rootDir/data";
for file in "UMS.conf" "WEB.conf" "ffmpeg.webfilters"
wget -P "$rootDir" \
"https://raw.githubusercontent.com/UniversalMediaServer/UniversalMediaServer/master/src/main/external-resources/$file" \
;
end
docker pull universalmediaserver/ums;
docker create --name UMS \
Expand Down Expand Up @@ -93,20 +90,19 @@ Strangely this is not an issue on Fedora Workstation, but I guess installing it

## References

- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841#issuecomment-672849793
- https://docs.docker.com/engine/install/fedora/
- https://docs.docker.com/engine/install/fedora/#install-using-the-repository
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://pkgs.org/download/docker-ce
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://support.universalmediaserver.com/
- https://www.universalmediaserver.com/download/#docker
- https://www.universalmediaserver.com/forum/viewtopic.php?t=12922
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://www.universalmediaserver.com/forum/viewtopic.php?p=47952
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Docker

Some of these steps may not apply to your installation. Understand what they do, and ignore, or customize as necessary.
Some of these steps may not apply to your installation. Entendre el que fan i ignorar o personalitzar segons sigui necessari.

## Preparation
## Preparació

For operating system support and service packages.

### Debian Linux
### Linux Debian

Install Docker (Engine): https://docs.docker.com/engine/install/debian/
Instal·leu Docker (motor): https://docs.docker.com/engine/install/debian/

### Fedora Linux
### Linux Fedora

Install Docker (Engine): https://docs.docker.com/engine/install/fedora/
Instal·leu Docker (motor): https://docs.docker.com/engine/install/fedora/

#### Extra instructions
#### Instruccions addicionals

```
sudo usermod -a -G docker <username>;
Expand All @@ -23,34 +23,31 @@ sudo usermod -a -G docker <username>;
Re-login or restart the machine.

```
sudo mkdir /srv/UMS;
sudo chcon -t svirt_sandbox_file_t /srv/UMS;
sudo chown core:docker /srv/UMS;
sudo su -;
mkdir /srv/UMS;
chcon -t svirt_sandbox_file_t /srv/UMS;
chgrp docker /srv/UMS;
chmod -R g+w /srv/UMS;
```

Mount storage to host and link into that directory, probably read-only.
Mount storage to host and link into that directory, probably read-only. `mount <Videos-Share> '/srv/UMS/Videos'`

Test example: Simple symlinking to another path on the host system may not work, since there will be no access to it outside of the mounted volume path for the docker container. Try copying files inside this location instead.

## Container Setup

Mount the following volumes:
Munta els volums següents:
- Media folder `/media`
- Profile folder containing UMS.conf `/profile`

Expose/forward these ports from the host: 1044, 5001, 9001.

The following scripts accomplish that (using the fish shell):
Fer-ho amb els scripts següents (utilitzant la closca de peix):
```
sudo su -;
set rootDir "/home/UMS/.config/UMS";
set rootDir "$HOME/.config/UMS";
mkdir -p "$rootDir/data";
for file in "UMS.conf" "WEB.conf" "ffmpeg.webfilters"
wget -P "$rootDir" \
"https://raw.githubusercontent.com/UniversalMediaServer/UniversalMediaServer/master/src/main/external-resources/$file" \
;
end
docker pull universalmediaserver/ums;
docker create --name UMS \
Expand Down Expand Up @@ -85,28 +82,27 @@ docker cp <containerName>:/var/log/UMS/root/debug.log ./;

Using Fedora CoreOS, I had access/permission denied problems trying to use bind mounts.

It may be recommended to use the Docker-managed, named-volumes capability instead, but to avoid that complexity, I found that the additional `:Z` as a suffix to the bind mount's descriptor option value allowed container write access to host files. `:z` can also be used instead, but security advice may suggest keeping resources more isolated between application/service environments, rather than shared.
Potser sigui recomanable utilitzar la capacitat de volums amb nom gestionada per Docker, però per evitar aquesta complexitat, vaig trobar que el `:Z` addicional com a sufix del valor de l'opció de descriptor del muntatge d'enllaç permetia l'escriptura del contenidor. accés als fitxers host. ​Consulta els detalls També es pot utilitzar I`:z`, però els consells de seguretat poden suggerir mantenir els recursos més aïllats entre entorns d'aplicació/servei, en lloc de compartir-los.

Matching error messages can be seen using journalctl, so it is an SELinux problem. The solution for that would be to run `chcon -Rt svirt_sandbox_file_t` host_dir, but that also seems discouraged.
Matching error messages can be seen using journalctl, so it is an SELinux problem. La solució per a això seria executar `chcon -Rt svirt_sandbox_file_t` host_dir, però això també sembla desanimat.

Strangely this is not an issue on Fedora Workstation, but I guess installing it manually added a package to deal with this. Seems to be container-selinux.

## References

- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841
- https://github.com/UniversalMediaServer/UniversalMediaServer/issues/1841#issuecomment-672849793
- https://docs.docker.com/engine/install/fedora/
- https://docs.docker.com/engine/install/fedora/#install-using-the-repository
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://hub.docker.com/r/universalmediaserver/ums
- https://hub.docker.com/r/atamariya/ums/
- https://pkgs.org/download/docker-ce
- https://fedora.pkgs.org/36/docker-ce-x86_64/docker-ce-20.10.16-3.fc36.x86_64.rpm.html#Install_HowTo
- https://support.universalmediaserver.com/
- https://www.universalmediaserver.com/download/#docker
- https://www.universalmediaserver.com/forum/viewtopic.php?t=12922
- https://github.com/UniversalMediaServer/UniversalMediaServer/pull/1599
- https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/docker/Dockerfile
- https://github.com/UniversalMediaServer/UniversalMediaServer/tree/master/src/main/external-resources
- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
- https://drive.google.com/file/d/1ORNc113a8is1K1ZZtp1r3iz44uzJDeRp/view
- https://www.universalmediaserver.com/forum/viewtopic.php?t=14580
- https://www.universalmediaserver.com/forum/viewtopic.php?p=47952
Loading

0 comments on commit 13612b8

Please sign in to comment.