# No access to Grocy after update

**URL:** https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468
**Category:** Support apps
**Tags:** grocy, english
**Created:** [February 10, 2024, 11:13am UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468 "2024-02-10T11:13:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hermann-san](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hermann-san/32/2639_2.png) [@hermann-san](https://forum.yunohost.org/u/hermann-san)
#### Post date: [February 10, 2024, 11:13am UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468/1 "2024-02-10T11:13:12Z")

</div>

Salut!

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** 11.2.10 (stable)  
**I have access to my server :** Through SSH | through the webadmin | direct access via keyboard / screen | …  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no

### Description of my issue

Today I’ve updated my Grocy 4.0.3~ynh2 to 4.1.0~ynh1  
There was no error message during the update.  
After the update I tried to access Grocy via a Webbrowser, but it only shows me a blank empty page. No content at all.  
The web page inspection tool of the browser indicates

```auto
500 - Internal Server Error

```

I’ve also tried the Android app and it also doesn’t work.

Do you have an idea what I could do?  
Maybe I have to apply the solution given in this forum [here](https://forum.yunohost.org/t/how-to-update-grocy/25961)?

```auto
rm -r /var/www/grocy/data/viewcache/*

```

[https://paste.yunohost.org/raw/ekozuhukod](https://paste.yunohost.org/raw/ekozuhukod)

---

<div class="post-metadata">

### Author: ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)
#### Post date: [February 10, 2024, 12:52pm UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468/2 "2024-02-10T12:52:53Z")

</div>

The `rm` solution is already applied during upgrade: [grocy\_ynh/scripts/upgrade at d5ce2971a459fb99787e01ce0f4e7e0179c1f36e · YunoHost-Apps/grocy\_ynh · GitHub](https://github.com/YunoHost-Apps/grocy_ynh/blob/d5ce2971a459fb99787e01ce0f4e7e0179c1f36e/scripts/upgrade#L50)

The app properly passed upgrade test, not sure what went wrong on your end.

---

<div class="post-metadata">

### Author: ![hermann-san](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hermann-san/32/2639_2.png) [@hermann-san](https://forum.yunohost.org/u/hermann-san)
#### Post date: [February 10, 2024, 3:02pm UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468/3 "2024-02-10T15:02:25Z")

</div>

Thanks for checking.

I did restore my backup and all of a sudden there were a bunch of OS/Yunohost related updates available ( postfix, DB, libs, etc.). I did a few Yunohost updates before the Grocy update already. So I was surprised to see so many additional Yunohost updates (about 20 or so).  
Anyways, I did update those and update Grocy again (no error again). I still ended up in the same situation as before.  
I’ve checked the viewcache folder and it was not empty. There were about 100 php files with cryptic names.  
Apparently those files were not deleted during the Grocy update. I deleted them with the rm command , rebooted the server but the issue still remains there.

I did a restore my backup and Grocy 4.0.3~ynh2 is working fine.  
Apparently I can’t get the update to work with my installation.

BTW: the web browser inspector error indicated a crs error (cross site same orgin or something). That would indicate a Yunohost web proxy issue to me. But I’m not sure about that.

---

<div class="post-metadata">

### Author: ![MokuJinJin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mokujinjin/32/6109_2.png) [@MokuJinJin](https://forum.yunohost.org/u/MokuJinJin)
#### Post date: [February 12, 2024, 10:45am UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468/4 "2024-02-12T10:45:11Z")

</div>

Same problem here, i’ve done the system update after upgrading grocy.

Same thing in the viewdata directory, it’s full of php files, since it has not change anything, i’ve restore the old version, and it’s working with 4.0.3

---

<div class="post-metadata">

### Author: ![kanhu](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kanhu/32/3518_2.png) [@kanhu](https://forum.yunohost.org/u/kanhu)
#### Post date: [February 14, 2024, 7:26am UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468/5 "2024-02-14T07:26:46Z")

</div>

Same problem. Upgrade broke the app.

---

<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: [February 29, 2024, 7:27am UTC](https://forum.yunohost.org/t/no-access-to-grocy-after-update/28468/6 "2024-02-29T07:27:24Z")

</div>

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