# Pixelfed: Error when upgrading to v. 0.12.6~ynh1 / No such file or directory: ‘/etc/postfix/app\_senders\_login\_maps.db’

**URL:** https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951
**Category:** Support apps
**Tags:** pixelfed, english
**Created:** [September 6, 2025, 11:24pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951 "2025-09-06T23:24:07Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![lubi](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/7ab992/32.png) [@lubi](https://forum.yunohost.org/u/lubi)
#### Post date: [September 6, 2025, 11:24pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/1 "2025-09-06T23:24:07Z")

</div>

**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](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](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](https://paste.yunohost.org/raw/obayularuc)

---

<div class="post-metadata">

### Author: ![lubi](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/7ab992/32.png) [@lubi](https://forum.yunohost.org/u/lubi)
#### Post date: [September 10, 2025, 11:33am UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/2 "2025-09-10T11:33:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [September 10, 2025, 3:44pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/3 "2025-09-10T15:44:16Z")

</div>

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` ?

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [September 10, 2025, 5:44pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/4 "2025-09-10T17:44:35Z")

</div>

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

---

<div class="post-metadata">

### Author: ![lubi](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/7ab992/32.png) [@lubi](https://forum.yunohost.org/u/lubi)
#### Post date: [September 13, 2025, 12:13pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/5 "2025-09-13T12:13:34Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [September 28, 2025, 12:13pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/6 "2025-09-28T12:13:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Lapineige](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@Lapineige](https://forum.yunohost.org/u/Lapineige)
#### Post date: [January 12, 2026, 10:10pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/7 "2026-01-12T22:10:11Z")

</div>

I tried that but it doesn’t recreate the file ☹

Any idea ? 🙏

---

<div class="post-metadata">

### Author: ![Lapineige](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@Lapineige](https://forum.yunohost.org/u/Lapineige)
#### Post date: [January 12, 2026, 10:11pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/8 "2026-01-12T22:11:45Z")

</div>

By the way:

`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_logi n_maps.db' `

But there is a `app_senders_login_maps` file, without the `.db` extension.

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [January 12, 2026, 11:21pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/9 "2026-01-12T23:21:01Z")

</div>



---

<div class="post-metadata">

### Author: ![matjack1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/matjack1/32/5230_2.png) [@matjack1](https://forum.yunohost.org/u/matjack1)
#### Post date: [July 20, 2026, 9:18pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/10 "2026-07-20T21:18:38Z")

</div>

I have deleted the `app_senders_login_maps` file, restarted postfix and then it worked without complaints. Not sure if you should delete the file in your setup, in my case it was empty, but still causing issues.

---

<div class="post-metadata">

### Author: ![Lapineige](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@Lapineige](https://forum.yunohost.org/u/Lapineige)
#### Post date: [July 21, 2026, 6:25am UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/11 "2026-07-21T06:25:26Z")

</div>

Thanks for sharing your feedback.  
Was it recreated then ?

---

<div class="post-metadata">

### Author: ![matjack1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/matjack1/32/5230_2.png) [@matjack1](https://forum.yunohost.org/u/matjack1)
#### Post date: [July 21, 2026, 7:06am UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/12 "2026-07-21T07:06:56Z")

</div>

yes, it wasn’t present immediately after the restart but now is there and it has some content, so looks like it’s working 🙂

---

<div class="post-metadata">

### Author: ![NorbiPeti](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/n/df705f/32.png) [@NorbiPeti](https://forum.yunohost.org/u/NorbiPeti)
#### Post date: [September 23, 2026, 3:30pm UTC](https://forum.yunohost.org/t/pixelfed-error-when-upgrading-to-v-0-12-6-ynh1-no-such-file-or-directory-etc-postfix-app-senders-login-maps-db/39951/13 "2026-09-23T15:30:49Z")

</div>

For me there was a `__db.app_senders_login_maps.db` file and I had to rename/delete that for the file to be generated properly.
