Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kresus does not work after upgrade from 0.19.4~ynh4 to 0.20.0~ynh1 #175

Closed
bidroidk opened this issue Nov 18, 2023 · 4 comments
Closed

Kresus does not work after upgrade from 0.19.4~ynh4 to 0.20.0~ynh1 #175

bidroidk opened this issue Nov 18, 2023 · 4 comments

Comments

@bidroidk
Copy link

Describe the bug

Hello,

I ran this morning the upgrade from 0.19.4~ynh4 to 0.20.0~ynh1 (from the admin panel).
The upgrade process worked successfully. I did not see any error message except the message about the access for all users by default (this is not my case).

But now when I try to open the app, I get two popups that seems to be error popus.
Of course the app never opens and I can only see the animated color circle.

The two popups are :
error_popup_1
error_popup_2

Context

  • Hardware: Computer at home
  • YunoHost version: 11.2.5
  • I have access to my server: Through SSH and through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • If upgrading, current package version: Version installée : 0.20.0~ynh1

Steps to reproduce

Not sure it can be reproduced beacause it is an upgrade but I did it throught the web admin panel.

Expected behavior

Of course a working app :-)

Logs

There is no error message when starting the app, from kresus point of view nor in journactl nor in kresus log file.

Here is the the kresus log file content during my last try :

[2023-11-18T09:39:34.836] [INFO] apply-config - Running Kresus with the following parameters:
[2023-11-18T09:39:34.838] [INFO] apply-config - NODE_ENV = production
[2023-11-18T09:39:34.838] [INFO] apply-config - KRESUS_LOGIN = user
[2023-11-18T09:39:34.839] [INFO] apply-config - KRESUS_DIR = /home/yunohost.app/kresus
[2023-11-18T09:39:34.839] [INFO] apply-config - KRESUS_USER_ID = null
[2023-11-18T09:39:34.839] [INFO] apply-config - PORT = 9876
[2023-11-18T09:39:34.839] [INFO] apply-config - HOST = 127.0.0.1
[2023-11-18T09:39:34.839] [INFO] apply-config - KRESUS_PYTHON_EXEC = /var/www/kresus/venv/bin/python
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_URL_PREFIX = /kresus
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_SALT = (hidden)
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_FORCE_DEMO_MODE = false
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_WOOB_DIR = null
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_WOOB_SOURCES_LIST = null
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_EMAIL_TRANSPORT = smtp
[2023-11-18T09:39:34.840] [INFO] apply-config - KRESUS_EMAIL_SENDMAIL_BIN = null
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_FROM = kresus@cloud.horria.fr
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_HOST = 127.0.0.1
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_PORT = 25
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_USER = kresus
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_PASSWORD = (hidden)
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_FORCE_TLS = false
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_EMAIL_REJECT_UNAUTHORIZED_TLS = true
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_APPRISE_API_BASE_URL = null
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_AUTH = null
[2023-11-18T09:39:34.841] [INFO] apply-config - KRESUS_LOG_FILE = /var/log/kresus/kresus.log
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_TYPE = postgres
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_LOG = error
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_SQLITE_PATH = null
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_HOST = localhost
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_PORT = 5432
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_USERNAME = kresus
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_PASSWORD = (hidden)
[2023-11-18T09:39:34.842] [INFO] apply-config - KRESUS_DB_NAME = kresus
[2023-11-18T09:39:35.500] [INFO] models/index - database is ready
[2023-11-18T09:39:35.504] [INFO] models/index - User has id 1
[2023-11-18T09:39:35.504] [INFO] init - Starting bank accounts polling et al...
[2023-11-18T09:39:35.506] [INFO] poller - > Next check of accounts on 19/11/2023 at 02:25:00
[2023-11-18T09:39:35.507] [INFO] poller - Checking accounts and transactions for all accesses...
[2023-11-18T09:39:35.515] [INFO] accounts-manager - Retrieve all accounts from access MASKED_BY_ME with login MASKED_BY_ME
[2023-11-18T09:39:35.517] [INFO] providers/woob - Calling woob: command accounts...
[2023-11-18T09:39:35.517] [INFO] providers/woob - Woob will be updated prior to command "accounts"
[2023-11-18T09:39:40.561] [INFO] providers/woob - exited with code 0.
[2023-11-18T09:39:40.562] [INFO] providers/woob - Saving session for access from bank MASKED_BY_ME with login MASKED_BY_ME
[2023-11-18T09:39:40.575] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2023-11-18T09:39:40.575] [INFO] accounts-manager - -> 6 bank account(s) found
[2023-11-18T09:39:40.578] [INFO] accounts-manager - Account 2 already known and in Kresus's database
[2023-11-18T09:39:40.586] [INFO] accounts-manager - Account 6 already known and in Kresus's database
[2023-11-18T09:39:40.594] [INFO] accounts-manager - Account 4 already known and in Kresus's database
[2023-11-18T09:39:40.601] [INFO] accounts-manager - Account 1 already known and in Kresus's database
[2023-11-18T09:39:40.608] [INFO] accounts-manager - Account 5 already known and in Kresus's database
[2023-11-18T09:39:40.612] [INFO] accounts-manager - Account 3 already known and in Kresus's database
[2023-11-18T09:39:40.621] [INFO] providers/woob - Calling woob: command transactions...
[2023-11-18T09:39:47.528] [INFO] providers/woob - exited with code 0.
[2023-11-18T09:39:47.529] [INFO] providers/woob - Saving session for access from bank MASKED_BY_ME with login MASKED_BY_ME
[2023-11-18T09:39:47.537] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2023-11-18T09:39:47.537] [INFO] accounts-manager - Normalizing source information...
[2023-11-18T09:39:47.544] [INFO] accounts-manager - 81 transactions retrieved from source.
[2023-11-18T09:39:47.544] [INFO] accounts-manager - Comparing with database to ignore already known transactions…
[2023-11-18T09:39:47.544] [INFO] accounts-manager - Checking missing recurring transactions for account 2…
[2023-11-18T09:39:47.547] [INFO] accounts-manager - 0 recurring transaction(s) created for account 2…
[2023-11-18T09:39:47.551] [INFO] accounts-manager - Checking missing recurring transactions for account 6…
[2023-11-18T09:39:47.552] [INFO] accounts-manager - 0 recurring transaction(s) created for account 6…
[2023-11-18T09:39:47.554] [INFO] accounts-manager - Checking missing recurring transactions for account 4…
[2023-11-18T09:39:47.555] [INFO] accounts-manager - 0 recurring transaction(s) created for account 4…
[2023-11-18T09:39:47.557] [INFO] accounts-manager - Checking missing recurring transactions for account 1…
[2023-11-18T09:39:47.558] [INFO] accounts-manager - 0 recurring transaction(s) created for account 1…
[2023-11-18T09:39:47.566] [INFO] accounts-manager - Checking missing recurring transactions for account 5…
[2023-11-18T09:39:47.569] [INFO] accounts-manager - 0 recurring transaction(s) created for account 5…
[2023-11-18T09:39:47.571] [INFO] accounts-manager - Checking missing recurring transactions for account 3…
[2023-11-18T09:39:47.572] [INFO] accounts-manager - 0 recurring transaction(s) created for account 3…
[2023-11-18T09:39:47.609] [INFO] accounts-manager - Checking alerts based on accounts balances...
[2023-11-18T09:39:47.626] [INFO] accounts-manager - Post process: done.
[2023-11-18T09:39:47.627] [INFO] poller - All accounts have been polled.
[2023-11-18T09:39:47.627] [INFO] poller - Maybe sending reports...
[2023-11-18T09:39:47.627] [INFO] report-manager - Checking if user has enabled daily report...
[2023-11-18T09:39:47.628] [INFO] report-manager - User hasn't enabled daily report.
[2023-11-18T09:39:47.628] [INFO] poller - Reports have been sent.
[2023-11-18T09:39:47.628] [INFO] init - Server is ready, let's start the show!
[2023-11-18T09:40:20.510] [INFO] providers/woob - Calling woob: command version...
[2023-11-18T09:40:20.819] [INFO] providers/woob - exited with code 0.
[2023-11-18T09:40:20.820] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2023-11-18T09:40:20.845] [INFO] HTTP - GET /kresus/api/all/ - 200 (407 ms

The journaclt -u kresus shows exactly same message than the logfile.

Could you help me ?

Of course I'm free to give you more information if needed.

Many thanks !

@nicofrand
Copy link
Collaborator

Hi!

Can you try clearing your browser's cache?
If the error still occurs can you provide the output of the browser console (in developer tools) please?

@bidroidk
Copy link
Author

bidroidk commented Nov 18, 2023

Ho yes it worked !

I am so sorry to open an issue for that ... Sorry for the noise

Many thanks for your quick answer

Regards,

--
Bidroidk

@bidroidk
Copy link
Author

Clear the web browser (firefox) cache was enough to recover access.

@bnjbvr
Copy link
Contributor

bnjbvr commented Nov 18, 2023

No worries, thanks for opening an issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants