Skip to content

[BUG] Jotty: Data erased after updateΒ #14334

@GFBOX

Description

@GFBOX

βœ… Have you read and understood the above guidelines?

yes

πŸ”Ž Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

πŸ“œ What is the name of the script you are using?

jotty

πŸ“‚ What was the exact command used to execute the script?

update

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 13

πŸ“ˆ Which Proxmox version are you on?

8.4.19

πŸ“ Provide a clear and concise description of the issue.

`jotty LXC Container
🌐 Provided by: community-scripts ORG | GitHub: https://github.com/community-scripts/ProxmoxVE

πŸ–₯️   OS: Debian GNU/Linux - Version: 13
🏠   Hostname: notes
πŸ’‘   IP Address: 192.168.45.69

βœ”οΈ Update available: jotty 1.21.0 β†’ 1.23.0
βœ”οΈ Stopped Service
βœ”οΈ Backed up configuration & data
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://security.debian.org trixie-security InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nodejs is already the newest version (22.22.2-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

removed 49 packages, and changed 92 packages in 25s

15 packages are looking for funding
run npm fund for details
βœ”οΈ Update Node.js 22
⏳ Updating yarn to latest version
changed 1 package in 5s
βœ”οΈ Installed Node.js modules: yarn
βœ”οΈ Deployed: jotty (1.23.0)
βœ”οΈ Restored configuration & data
βœ”οΈ Started Service
βœ”οΈ Updated successfully!`

πŸ”„ Steps to reproduce the issue.

type 'update' to execute the script then go on the webui and it is like a fresh install, no previous data just the invite to create an admin account.

❌ Paste the full error output (if available).

none

πŸ–ΌοΈ Additional context (optional).

I have tested the update 3 times with backup restore in between. I am not a dev and I don't know coding, I learned from all my fails so my apologies if something "obvious" to you is not for me.

1- initial try
=> failed => users data are missing
=> script does not update all the packages => good to know

2- backup folder /opt on my own and run apt update && apt upgrade before update
=> failed => users data still missing but /opt/data was present before update and missing after update. Looking at the script it looks like /opt/data is used to backup so being already there prevent the backup while the script has been executed without warning.

3- backup folder /opt on my own, run apt update && apt upgrade and remove folder /opt/data before update
=> success, update done and data are not missing this time.

I have never updated this app since I installed it, I don't know why the folder /opt/data was there. The issue is resolved but adding some lines in the script to prevent this behavior would be great.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions