mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 09:50:12 -08:00
113 lines
3.1 KiB
Markdown
113 lines
3.1 KiB
Markdown
# Jellyfin Docker Migration Guide
|
|
|
|
## ✅ Current Status
|
|
Your Jellyfin Docker container is now running successfully at http://localhost:8096
|
|
|
|
## 🎯 What's Working
|
|
- ✅ Docker Compose setup with named volumes
|
|
- ✅ Media libraries properly mapped:
|
|
- TV: `/mnt/share/media/tv` → `/data/tv`
|
|
- Anime: `/mnt/share/media/anime` → `/data/anime`
|
|
- Movies: `/mnt/share/media/movies` → `/data/movies`
|
|
- Kids Movies: `/mnt/share/media/movies_kids` → `/data/movies_kids`
|
|
- Babies: `/mnt/share/media/babies` → `/data/babies`
|
|
- ✅ Network ports configured (8096, 8920, 7359, 1900)
|
|
- ✅ Container health checks passing
|
|
|
|
## 🔧 Next Steps
|
|
|
|
### 1. Initial Setup
|
|
1. Open http://localhost:8096 in your browser
|
|
2. Complete the initial setup wizard
|
|
3. Create your admin user account
|
|
4. Add your media libraries using the paths above
|
|
|
|
### 2. Migrate Your Old Configuration (Optional)
|
|
If you want to copy specific settings from your bare metal installation:
|
|
|
|
```bash
|
|
# Stop the container
|
|
docker compose down
|
|
|
|
# Copy specific config files (be selective to avoid database issues)
|
|
sudo docker cp /etc/jellyfin/branding.xml jellyfin_volume:/config/config/
|
|
sudo docker cp /etc/jellyfin/encoding.xml jellyfin_volume:/config/config/
|
|
sudo docker cp /etc/jellyfin/network.xml jellyfin_volume:/config/config/
|
|
|
|
# Restart the container
|
|
docker compose up -d
|
|
```
|
|
|
|
### 3. Plugin Migration
|
|
Your old plugins were detected but may need to be reinstalled:
|
|
- Chapter Segments Provider
|
|
- Open Subtitles
|
|
- Playback Reporting
|
|
- Reports
|
|
- Session Cleaner
|
|
- Webhook
|
|
|
|
### 4. GPU Transcoding (When Ready)
|
|
Once you fix your NVIDIA drivers, uncomment these lines in `docker-compose.yml`:
|
|
```yaml
|
|
# NVIDIA GPU settings (uncomment when drivers are working)
|
|
# environment:
|
|
# - NVIDIA_VISIBLE_DEVICES=all
|
|
# - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
|
|
# runtime: nvidia
|
|
```
|
|
|
|
## 🛠️ NVIDIA Driver Fix
|
|
To enable GPU transcoding, you'll need to fix your NVIDIA drivers:
|
|
```bash
|
|
# Check what driver you need
|
|
ubuntu-drivers devices
|
|
|
|
# Install recommended driver
|
|
sudo ubuntu-drivers autoinstall
|
|
|
|
# Or install specific driver
|
|
sudo apt install nvidia-driver-470 # (or whatever version is recommended)
|
|
|
|
# Reboot
|
|
sudo reboot
|
|
```
|
|
|
|
## 📋 File Locations
|
|
- **Docker Compose**: `/home/acedanger/docker/jellyfin/docker-compose.yml`
|
|
- **Migration Script**: `/home/acedanger/docker/jellyfin/migrate.sh`
|
|
- **Config Volume**: `jellyfin_jellyfin_config`
|
|
- **Cache Volume**: `jellyfin_jellyfin_cache`
|
|
|
|
## 🔄 Management Commands
|
|
```bash
|
|
# Start Jellyfin
|
|
docker compose up -d
|
|
|
|
# Stop Jellyfin
|
|
docker compose down
|
|
|
|
# View logs
|
|
docker compose logs -f jellyfin
|
|
|
|
# Restart Jellyfin
|
|
docker compose restart
|
|
|
|
# Update Jellyfin
|
|
docker compose pull && docker compose up -d
|
|
```
|
|
|
|
## 🚫 Old Bare Metal Service
|
|
To prevent conflicts, disable the old systemd service:
|
|
```bash
|
|
sudo systemctl stop jellyfin
|
|
sudo systemctl disable jellyfin
|
|
```
|
|
|
|
## 🎬 Access Points
|
|
- **Web Interface**: http://localhost:8096
|
|
- **HTTPS** (if configured): https://localhost:8920
|
|
- **Server IP**: Your container is accessible at `10.0.12.2:8096` from the network
|
|
|
|
Your Jellyfin migration is complete! The container will automatically restart if your system reboots.
|