Change video storage directory from /storage to /mnt/nfs_share
- Update StorageConfig default base_path in core/config.py - Update base_path and camera storage_paths in config.json and config.compose.json - Update Docker Compose volume mounts to use /mnt/nfs_share - Update start_system.sh to create /mnt/nfs_share directory - Update convert_avi_to_mp4.sh to use new NFS path - Update all documentation files to reflect new storage paths - Videos now stored on NFS server at 192.168.1.249:/mnt/nfs_share/
This commit is contained in:
@@ -29,11 +29,11 @@ if [ ! -f "config.json" ]; then
|
||||
fi
|
||||
|
||||
# Check storage directory
|
||||
if [ ! -d "/storage" ]; then
|
||||
if [ ! -d "/mnt/nfs_share" ]; then
|
||||
echo "📁 Creating storage directory..."
|
||||
sudo mkdir -p /storage
|
||||
sudo chown $USER:$USER /storage
|
||||
echo "✅ Storage directory created at /storage"
|
||||
sudo mkdir -p /mnt/nfs_share
|
||||
sudo chown $USER:$USER /mnt/nfs_share
|
||||
echo "✅ Storage directory created at /mnt/nfs_share"
|
||||
fi
|
||||
|
||||
# Check time synchronization
|
||||
|
||||
Reference in New Issue
Block a user