Repository navigation
Storage Options
By default AVideo keeps every video in the videos/ folder of your server. When that disk gets full, you can move the folder to a bigger disk or send the video files to remote storage. Test with a few unimportant videos before moving a production library.
| Option | What you need | What is moved | Guide |
|---|---|---|---|
| Local disk | Nothing | Nothing (default) | — |
| Another disk on the same server | Server access (SSH) | The whole videos/ folder |
Move and protect video files |
| AVideo CDN Storage | CDN plugin (free) + the paid AVideo CDN service | MP4, WebM, MP3, HLS, PDF and ZIP files | CDN Storage |
| Your own storage servers | YPTStorage plugin (paid) + AVideo-Storage servers that you run | Whole videos, including HLS | YPTStorage plugin |
| Amazon S3 or S3-compatible (Wasabi and others) | AWS_S3 plugin (paid) + an S3 account | MP4, WebM and MP3 only. HLS stays on your server | AWS S3 |
| Backblaze B2 | Blackblaze_B2 plugin (paid) + a B2 account | MP4, WebM, MP3 and HLS | Backblaze B2 |
| FTP server | FTP_Storage plugin (paid) + an FTP server that also serves the files over HTTPS | MP4, WebM and MP3 only. HLS stays on your server | FTP Storage |
Paid plugins are available from the AVideo plugin marketplace.
- AWS_S3, Blackblaze_B2 and FTP_Storage: Admin Panel → Settings → S3, B2, FTP settings (each has an on/off switch), or Plugins (left menu) → plugin row → Edit parameters.
- CDN Storage: Plugins → CDN → Edit parameters.
- YPTStorage: Plugins → YPTStorage → Storage Sites and Default Storages.
- Use one storage method at a time. If more than one of AWS_S3, Blackblaze_B2 and FTP_Storage is enabled, AVideo uses only the first in this order: AWS_S3, Blackblaze_B2, FTP_Storage.
- Remote storage does not replace a backup. Keep a backup of the database and
videos/configuration.php(How to make a backup). - A storage holds files; a CDN speeds up delivery. Only CDN Storage does both. See CDN plugin.
- Keep the original files until playback, seeking and deleting have been tested from the new location.
- Back up the database,
videos/configuration.phpand the media. - Test one MP4 video and one HLS video.
- Check playback, seeking, all qualities, subtitles and thumbnails while signed out.
- Delete a test video and confirm its remote files are removed.
- Move a small batch and check it before moving the rest.
- New videos go to the storage when the Encoder sends them. Videos you had before stay on your disk until you move them with the plugin's own tool: Upload to S3 (AWS S3), Storage → Upload selected (CDN Storage) or YPTStorage.
- Update the storage plugin: download it again from the marketplace. Older AWS_S3 versions copied the files without freeing the disk.
- Only video and audio files move. Images and thumbnails stay on your server.
- AWS_S3 does not send files larger than 5 GB.
- A moved file leaves a tiny placeholder on your disk. If the full file is still there, the move did not finish: check the AVideo log.
- Play one of them while signed out and open the browser's developer tools (F12 → Network). The first failed request shows where the file is loaded from and the error.
- Update AVideo and the storage plugin, then click Clear Cache Directory.
- Never delete the small placeholder files in
videos/: AVideo needs them to find the file in the storage. - Check that only one storage plugin is enabled (see the rules above).
See also A video does not play and Broken/Missing Files status.
Run the plugin's test button first (Upload Test, Test it or Test Storage). Then look at the AVideo log at the time of the transfer (How to find errors). "ERROR on save file ... Directory is not writable" means the web server cannot write to the videos/ folder; fix its owner and permissions (Secure file permissions).
Help with planning or migration is available through professional support.
Start
Install and update
- Install on Ubuntu 24.04 or 26.04
- Installation Setup Page
- Scheduler cron job (required)
- Set up email
- Use HTTPS
- Own Encoder
- Docker
- Update AVideo
- Backup
- Secure file permissions
- Server command-line tools
- Hidden configuration options
Videos
- Upload a video
- Upload methods — visual guide
- Local Encoder (on your computer)
- Bulk upload from a server folder
- Import a channel
- Publish on YouTube and social media
- Access and payments — visual guide
- Privacy options
- Only for logged-in users
- Resolutions by user group
- Mandatory playback access rules
- Storage options
- Move and protect video files
- Video does not play
Users
Live
- Make a live stream
- Stream with OBS
- Own live server
- One live server, many sites
- Live server install errors
- Live does not play
Plugins
Problems
Other
- Translate your site
- Write a plugin (developers)
- Technical reference (developers and advanced administrators)
Old and retired guides