A little disclaimer before we get started: I have virtually zero experience in system administration or software development. All the scripts, setups and configurations described in this post were essentially vibe-coded with ChatGPT.
I brought the ideas, requirements, questions and testing. ChatGPT helped me figure out how to actually make things work. There was a lot of trial and error, troubleshooting and learning along the way.
So please don't expect production-grade code or enterprise-level architecture. I'm just a photo enthusiast trying to solve my own problems.
TL;DR
- The challenge: Replacing Picasa while preserving a collection of 180,000 photos, 6,000 videos and 130 years of family history, including albums, tags and non-destructive edits.
- Immich as the foundation: Self-hosted photo management with external libraries, multi-user support, facial recognition, mobile access and remote access via Tailscale.
- Metadata migration: Custom scripts using the Immich API and PostgreSQL to migrate Picasa albums, favorites and tags, and identify metadata inconsistencies.
- OverlayFS and XMP sidecars: A writable overlay allows Immich to create and update XMP sidecars without modifying the original photo files. Custom scripts handle overlay creation, backup and restoration.
- Windows-to-Linux migration: Moving from Windows, WSL2 and Docker Desktop to Ubuntu Server and native Docker, including storage configuration, startup dependencies and remote administration.
- Automated photo ingestion (WIP): Replacing Advanced Renamer with a Bash + ExifTool script for metadata-based renaming, directory organization, duplicate handling and missing EXIF data. The planned workflow uses SMB, automated file processing and Immich library refreshes.
- RapidRAW integration: Direct access to Immich albums, non-destructive editing, uploading edited versions and stacking them with the originals.
- Picasa edit migration (WIP): Reverse-engineering Picasa's editing instructions and converting them into RapidRAW editing recipes. Initial crop and automatic enhancement experiments have produced promising results.
- Long-term goal: An application-independent photo archive with portable metadata and editing recipes. Immich is the photo management layer, not the file management layer.
- Vibe coding: All custom scripts, setups and configurations were developed with ChatGPT, as I have virtually no experience in software development or system administration. Lots of experimentation, testing, troubleshooting and learning. :D
The Story:
From Picasa to Immich + RapidRAW: migrating 180,000 photos, 130 years of family history, and non-destructive edits
The starting point
I've been using Picasa for years. My collection now contains around 180,000 photos and 6,000 videos, covering approximately 130 years of family history. Yes, some of them are very old scanned photographs. :)
Everything is stored in my own directory structure, with a custom file naming convention implemented through a heavily scripted Advanced Renamer configuration.
Over the years, I've accumulated thousands of tags, albums, favorites and non-destructive edits in Picasa.
However, Picasa had several problems:
- Discontinued development and support.
- Loss of online album sharing through Google's services.
- Performance issues as the database grew.
- A monolithic, single-user, Windows-dependent architecture.
- No proper remote or mobile access.
I wanted something that could replace Picasa's photo management capabilities while adding multi-user support, remote access and mobile access.
Migrating my existing albums and tags was important. Migrating the actual non-destructive edits was more of a dream at that point.
Finding Immich
After years of looking for alternatives, I discovered Immich.
I started experimenting on an old HP ProDesk 600 G1 SFF:
- Intel i5-4570
- 8 GB RAM
- 240 GB SSD
- 4 TB HDD
- Windows 10, Docker Desktop and WSL2
I'm not a Linux or Docker expert, but I have a good friend called ChatGPT. :D
It helped me with installation, configuration, troubleshooting, and writing numerous PowerShell, Bash, Python and SQL scripts throughout this project.
Immich's external library support was particularly important to me. I wanted to keep my existing directory structure and naming convention rather than hand over control of my physical photo archive to another application.
Tailscale solved remote access without directly exposing Immich to the internet.
Migrating Picasa albums, favorites and tags
Using Picasa's existing metadata, .picasa.ini files, custom scripts and the Immich API, I was able to recreate albums and their relationships with existing assets without duplicating or uploading the photos again.
Picasa's starred photos became Immich favorites.
For tags, we used PostgreSQL queries, CSV exports and API-based scripts to analyze and migrate metadata.
We also identified different versions of the same photos with inconsistent tag sets. Missing tags can be propagated between versions, while potentially conflicting cases can be marked with a special check_it tag for manual review.
Direct database queries combined with the Immich API turned out to be extremely useful for other tasks as well, such as creating review albums containing scanned photographs with recognized but unnamed faces.
Read-only external libraries vs. XMP sidecars
This was one of the most interesting problems.
I want my original photos to remain untouched. Therefore, I initially mounted my external libraries as read-only.
However, I also want Immich's tags and metadata to survive independently of its database, preferably in XMP sidecar files.
Obviously, Immich cannot create sidecars in a read-only directory.
After finding a discussion on Immich's GitHub (#5530), we started experimenting with OverlayFS.
Our first attempt involved a custom Python-based FUSE filesystem that would only allow writing XMP files. Unfortunately, Docker Desktop and WSL2 mount-related complications made this approach unnecessarily difficult.
Eventually, we implemented OverlayFS using Docker volumes.
The concept is simple:
- Lower layer: original photo collection.
- Upper layer: writable storage for XMP sidecars and other filesystem changes.
- Merged layer: presented to Immich as a writable external library.
Immich can create and update XMP sidecars without directly modifying the original files in the lower layer.
We also created scripts for setting up separate overlays for different collections, generating configuration snippets, and backing up and restoring the upper layers.
This solution was successfully tested and deployed.
Of course, OverlayFS is not an XMP-only write filter. Modified copies and whiteouts can also exist in the upper layer. The underlying original files, however, remain untouched by those overlay operations.
Moving from Windows to Linux
During the project, I decided to migrate the server from Windows to Ubuntu Server with native Docker.
The Windows + WSL2 + Docker Desktop setup was useful for experimentation, but it introduced unnecessary complexity for a dedicated server.
For occasional graphical remote administration, I chose XFCE and xrdp, while keeping Tailscale for remote access.
Another interesting challenge was startup order.
After a reboot or power failure, the physical drives, storage layers and external libraries must be available before Immich starts accessing them.
Simply configuring everything to start automatically is not enough. The dependencies between the components also matter.
I certainly don't want Immich to suddenly see an empty external library containing 180,000 missing photos!
Replacing Advanced Renamer and automating photo ingestion
My existing naming convention looks something like this:
2026_10_29 12_18_35_SM-A528B_IMG_20261029_121835.jpg
Photos are organized into year/month_day directories.
To replace my Windows-based Advanced Renamer workflow, we started developing a Bash script using ExifTool.
It handles metadata extraction, camera models, photo and video separation, directory creation, file naming, timestamps and duplicate handling.
There are some interesting challenges here, including:
- Missing EXIF data.
- Missing camera models or capture dates.
- Different metadata formats across cameras and phones.
- UTC timestamps in video files and local time zone conversion.
- Scanned photographs where the digitization date is not the actual date of the photograph.
Around 6,000–8,000 images in my existing collection lack EXIF data.
The script is partially working but still under development.
The planned ingestion workflow is:
- Copy new photos and videos to an incoming directory via SMB.
- Detect new files through directory monitoring or scheduled processing.
- Extract metadata, rename and organize the files.
- Separate duplicates and files requiring manual review.
- Move everything into the permanent directory structure.
- Trigger an Immich external library refresh.
This way, the physical archive and its organization remain independent of Immich.
Looking for a photo editor
Initially, I wasn't expecting to find a replacement for Picasa's integrated editing workflow.
My plan was to select photos in Immich, export them, edit them in an external application and use the resulting images for sharing, printing or photo books.
After evaluating several editors, I initially chose ART (Another RawTherapee).
We had already started investigating its .arp processing profiles and the possibility of converting Picasa's editing parameters into ART profiles.
And then I discovered RapidRAW.
RapidRAW changed the plan
RapidRAW's direct Immich integration was exactly the kind of feature I had been looking for without really expecting to find it.
I could:
- Connect directly to my Immich server.
- Access my albums.
- Open and edit photos.
- Upload the edited versions back to Immich.
- Stack the original and edited photos together.
No more manual export-edit-import workflow.
But the most interesting discovery came when we started investigating how RapidRAW stores its non-destructive edits.
When editing local files, RapidRAW can create sidecar files. However, when working through its Immich integration, I couldn't find the editing recipes in my external library or OverlayFS upper layer.
So we looked into the Immich database.
RapidRAW stores its editing parameters as JSON in the asset_metadata table, under the rapidraw key, associated with the original asset.
And this gave me an idea.
What if we could convert Picasa's editing instructions directly into RapidRAW editing recipes?
Instead of simply exporting thousands of edited photos from Picasa, we could potentially migrate the actual non-destructive edits.
Reverse-engineering Picasa and RapidRAW edits
This is what we are currently working on.
Picasa stores many of its editing instructions in .picasa.ini files. We are investigating how these parameters can be translated into RapidRAW's JSON-based editing recipes.
Our experiments include:
- Decoding Picasa's
crop64 values. - Converting crop coordinates.
- Mapping 90-degree rotations.
- Handling EXIF orientation.
- Investigating fine rotation and straightening.
- Understanding the interaction between rotation and cropping.
- Reproducing Picasa's automatic enhancement.
We are comparing the original photos, Picasa exports and RapidRAW exports, while examining the underlying editing parameters.
The first results are promising.
Simple crop conversions have produced good results, and our recent automatic enhancement experiments have produced visually convincing results as well.
The goal is not necessarily pixel-perfect reproduction of every Picasa filter. Different editing engines use different algorithms, and some operations may never have an exact equivalent.
The goal is to preserve as much of the original editing intent as possible, in a form that can still be edited.
There is still a lot of work to do, but programmatically generating RapidRAW editing recipes from Picasa metadata now looks like a realistic goal rather than just a theoretical possibility.
Some remaining RapidRAW integration challenges
There are a few things I would love to see improved in the Immich integration:
Tag inheritance and synchronization
In my tests, RapidRAW doesn't retrieve the existing Immich tags when opening a photo. Tags added in RapidRAW are associated with the uploaded edited version, but not with the original asset.
Some form of tag inheritance or synchronization between originals and edited versions would be very useful.
Portable editing recipes
I would also love to have the option to export RapidRAW editing recipes from Immich into XMP or .rrdata sidecar files.
Storing them in the database is useful, but having an independent copy would make the editing information much more portable and easier to archive.
My OverlayFS setup would already provide a suitable storage layer for this.
Editing history
Another interesting possibility would be preserving multiple versions of an editing recipe without necessarily storing a full rendered image for every intermediate editing state.
Where I am now
The current system is a combination of:
- Ubuntu Server and Docker
- Immich
- RapidRAW
- OverlayFS
- Tailscale
- Bash, Python, PowerShell and ExifTool
- PostgreSQL queries and the Immich API
- XMP sidecars
SMB-based automated photo ingestion is also planned.
The infrastructure, external libraries, album migration, favorites, remote access and OverlayFS-based sidecar handling are working.
The automated ingestion workflow, complete metadata verification and Picasa-to-RapidRAW editing conversion are still work in progress.
The bigger picture
What I really want is a photo archive that can outlive any particular application.
My original photos should remain in my own directory structure. Metadata should be portable. Editing recipes should be preserved whenever possible. Individual components should be replaceable without losing years of work.
Picasa's discontinuation taught me that even a great application won't necessarily be around forever.
I don't want to repeat the same migration ten years from now.
And if this project succeeds, I might even be able to open a photo I edited in Picasa fifteen years ago and continue editing it in RapidRAW today.
That would be pretty cool. :)
I'd love to hear from anyone who has attempted something similar, especially people who have investigated Picasa's non-destructive editing format or experimented with RapidRAW's Immich integration.
If there is interest, I can share more technical details and scripts as the project progresses.
To be continued...
And a big thank you to the Immich and RapidRAW developers and communities for making this possible!
#Immich #RapidRAW #Picasa #PicasaReplacement #PicasaMigration #PhotoMigration #PhotoAssetManagement #DigitalAssetManagement #PhotoArchive #NonDestructiveEditing #SelfHosted #OverlayFS #XMP #OpenSource #VibeCoding