What app is this about, and its version: AppFlowy 0.9.64~ynh2
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Old laptop or computer
Describe your issue
Hi, every time that i install AppFlowy i have this error: https://paste.yunohost.org/raw/cisawuzima
I have asked an AI since i’m not a developer and it says it’s because of the password that doesn’t meet the Yunohost requirement that need to have specials characters:
2026-01-29 12:44:20,021: WARNING - ERROR The password needs to be at least 12 characters long and contain a digit, upper, lower and special characters
So i have modified the install script to include specials characters by adding --filter='A-Za-z0-9!@#$%^&*()-_=+' to ynh_user_password, jwt_secret, supabase_password
But now i have an other error that says
2026-01-29 13:33:57,728: WARNING - panic: runtime error: invalid memory address or nil pointer dereference
(Full logs of the patched attempt here: https://paste.yunohost.org/raw/biwuyiwude)
Once again, since i’m not a developer and because i’m using AI to troubleshoot, i don’t want to go further because it’s telling me things i don’t really understand, and since the problem is about passwords i don’t want to do things that might be insecure.
But the AI says that’s because of the specials characters that break the PostgreSQL connection URL, and tell to re-encode the password, by replacing for example this:
ynh_user_password=$(ynh_string_random --length=30 --filter='A-Za-z0-9!@#$%^&*()-_=+')
...
DATABASE_URL="postgres://appflowy:${ynh_user_password}@localhost:5432/appflowy"
By this
ynh_user_password=$(ynh_string_random --length=30 --filter='A-Za-z0-9!@#$%^&*()-_=+')
ynh_user_password_encoded=$(python3 -c "import urllib.parse;
print(urllib.parse.quote('${ynh_user_password}', safe=''))")
DATABASE_URL="postgres://appflowy:${ynh_user_password_encoded}@localhost:5432/appflowy"
For every passwords injected into PostgreSQL
It also need to modify the .env files to replace the PostgreSQL variables.
I hope this might help.
Share relevant logs or error messages
https://paste.yunohost.org/raw/cisawuzima (initial error)
https://paste.yunohost.org/raw/biwuyiwude (patch attempt)

