# Error upgrading privatebin (²)

**URL:** <https://forum.yunohost.org/t/error-upgrading-privatebin/30659>\
**Category:** Support apps\
**Tags:** privatebin\
**Created:** [August 1, 2024, 5:52pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659 "2024-08-01T17:52:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![moses69](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@moses69](https://forum.yunohost.org/u/moses69)\
**Post date:** [August 1, 2024, 5:52pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/1 "2024-08-01T17:52:27Z")

</div>

For me upgrading still doesn’t work with Yunhost 11.2.26.

Still error in backup procedure:

```auto
Info: Declaring files to be backed up...
Warning: /var/cache/yunohost/app_tmp_work_dirs/app_yyb4onoh/scripts/backup: line 34: phpversion: unbound variable
Error: Could not back up privatebin

```

Full log: [https://paste.yunohost.org/raw/evumagugex](https://paste.yunohost.org/raw/evumagugex)

Side question: Is there a way to exclude an app from upgrade procedure without uninstalling it. At the moment the bug blocks several other apps from upgrading.

---

<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:** [August 1, 2024, 6:47pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/2 "2024-08-01T18:47:20Z")

</div>

(Moved to a new topic, please avoid resurecting solved threads …)

---

<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:** [August 1, 2024, 6:47pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/3 "2024-08-01T18:47:34Z")

</div>

Can you tell which version of Privatebin you are running right now ?

---

<div class="post-metadata">

**Author:** ![moses69](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@moses69](https://forum.yunohost.org/u/moses69)\
**Post date:** [August 1, 2024, 6:49pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/4 "2024-08-01T18:49:49Z")

</div>

I’m running last version 1.7.3~ynh1

---

<div class="post-metadata">

**Author:** ![moses69](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@moses69](https://forum.yunohost.org/u/moses69)\
**Post date:** [August 1, 2024, 6:55pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/5 "2024-08-01T18:55:29Z")

</div>

I’ve just seen that I get an error with privatebin service.

```auto
403 Forbidden---nginx

```

Maybe the installation is corrupted and thats the issue.

---

<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:** [August 1, 2024, 7:27pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/6 "2024-08-01T19:27:02Z")

</div>

Eeeeh okay but if this is the last version how comes you’re getting an upgrade for it ? x\_X Which version is it upgrading to ?

---

<div class="post-metadata">

**Author:** ![moses69](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@moses69](https://forum.yunohost.org/u/moses69)\
**Post date:** [August 1, 2024, 7:30pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/7 "2024-08-01T19:30:44Z")

</div>

Sorry for semantic confusion. I’m running the last version 1.7.3~ynh1 and was trying to install the latest version 1.7.4~ynh1.

---

<div class="post-metadata">

**Author:** ![moses69](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@moses69](https://forum.yunohost.org/u/moses69)\
**Post date:** [August 1, 2024, 7:42pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/8 "2024-08-01T19:42:40Z")

</div>

I reinstalled privatebin and it works now with the new versions.  
Sorry for bothering. I thought it was a script problem but obviously something was broken on my side.

---

<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:** [August 16, 2024, 7:42pm UTC](https://forum.yunohost.org/t/error-upgrading-privatebin/30659/9 "2024-08-16T19:42:41Z")

</div>

Closed on August 16, 2024, 7:42pm UTC

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