How to fix an app

LKB

Dabbler
Joined
Dec 29, 2016
Messages
15
I'm having trouble with an app. After updating the app I can no longer start it.

I don't have the problem of recovering data: it's a test environment so I'm not worried about losing data and I might as well delete the app and reinstall it.

However, I insist on wanting to solve this problem because if it comes up again in production I want to be able to deal with it.

In particular I would like to understand what tools Truenas Scale offers me to troubleshoot these problems.

The app is the official Nextcloud.
When I start it, the chart.release.scale process gets stuck at 40%.

I have 7 other apps installed and they have no problems.

I have also tried rolling back to previous versions but the process gets stuck and does not reach the end.

What can I do to figure out what the problem depends on? I'm sure there are logs to analyze, but where? Maybe there are commands to fix the app?

Thanks for any suggestions

LK

1654855207257.png


1654855352990.png


1654855167960.png
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
If its the official app, please report it as a bug.
In the meantime, does the TrueCharts version work?
 

LKB

Dabbler
Joined
Dec 29, 2016
Messages
15
If its the official app, please report it as a bug.
In the meantime, does the TrueCharts version work?
Sorry for the late answer. I will try to submit it as a bug. I didn't try to install the Truecharts version.

LK
 

mervincm

Contributor
Joined
Mar 21, 2014
Messages
157
In particular I would like to understand what tools Truenas Scale offers me to troubleshoot these problems.

There are two application-specific log locations that I am aware of.

1) In the Apps tab, installed-Applications page, view click on the three dots for your problem app. These logs have been very handy for me in troubleshooting startup issues.

2) In the Apps tab, installed-Applications page, click on the emboldened name of your problem application. You will see items under Application Events related to pod activity.
 

LKB

Dabbler
Joined
Dec 29, 2016
Messages
15
Thanks mervuncm,

looking at the pods log it seems the problem is related to Postgres:

1656507264488.png


The application events log:
1656507369514.png


Any idea?

LKB
 

CheeryFlame

Contributor
Joined
Nov 21, 2022
Messages
184
In Shell type

Code:
service middlewared restart
 
Top