Pixelfed: Error when upgrading to v. 0.12.6~ynh1 / No such file or directory: ‘/etc/postfix/app_senders_login_maps.db’

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 0.12.5~ynh1
What app is this about: Pixelfed

Describe your issue

Hello!
I tried to upgrade Pixelfed to the new version today but I have the following error:

2025-09-06 23:10:45,509: INFO - Updating sources…
2025-09-06 23:10:45,509: DEBUG - Prefetching asset main: https://github.com/pixelfed/pixelfed/archive/refs/tags/v0.12.6.tar.gz
2025-09-06 23:10:48,026: INFO - Updating system_user…
2025-09-06 23:12:30,547: WARNING - Failed to update system_user : Error when changing permissions for /etc/postfix/app_senders_login_maps.db: [Errno 2] No such file or directory: ‘/etc/postfix/app_senders_login_maps.db’
2025-09-06 23:12:30,549: INFO - Reverting sources…
2025-09-06 23:12:30,550: DEBUG - Prefetching asset main: https://github.com/pixelfed/pixelfed/archive/refs/tags/v0.12.5.tar.gz
2025-09-06 23:12:33,276: INFO - Reverting system_user…
2025-09-06 23:14:15,830: ERROR - Failed to rollback system_user : Error when changing permissions for /etc/postfix/app_senders_login_maps.db: [Errno 2] No such file or directory: ‘/etc/postfix/app_senders_login_maps.db’
2025-09-06 23:14:15,834: ERROR - Provisioning, deprovisioning, or updating resources for pixelfed__2 failed: Error when changing permissions for /etc/postfix/app_senders_login_maps.db: [Errno 2] No such file or directory: ‘/etc/postfix/app_senders_login_maps.db’

Should I do anything from my side?
Thanks for your help!

Share relevant logs or error messages

https://paste.yunohost.org/raw/obayularuc

I tried a second time but I still have the same problem. Do other Pixelfed admins are facing the same situation?

It’s not related to pixelfed per se, but to the postfix conf

Can you share what happens when you run sudo postmap /etc/postfix/app_senders_login_maps ?

1 Like

What yunohost version do you have?
Anything interesting in the diagnosis?

Thanks for the suggestion, I run your command, I had this result:

root@hhh: /etc/postfix# sudo postmap app_senders_login_maps
BDB0002 __fop_file_setup: Retry limit (100) exceeded
postmap: fatal: open database app_senders_login_maps.db: File exists

So I had to delete the existing file (0 bytes) and rerun your command, and then I could finally upgrade Pixelfed. Thanks for your help!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.