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

Paperless-ngx upgrade to 2.0.0 error #2123

Closed
zelig2 opened this issue Nov 29, 2023 · 0 comments
Closed

Paperless-ngx upgrade to 2.0.0 error #2123

zelig2 opened this issue Nov 29, 2023 · 0 comments
Labels
🐞 bug Something isn't working ✅ Completed

Comments

@zelig2
Copy link

zelig2 commented Nov 29, 2023

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

Updating from the last v1.17.4 to v2.0.0 and the script generated an error. After I manually reloaded the services with systemctl the service came back online and was showing v2.0.0 as successfully installed. Looks like the issue was that I ran the update command from a directory that wasn't the home directory because the cleanup goes back to the home directory to clean up the downloaded files. So maybe at the start of the script change directory to the home directory or maybe do all of this from the /tmp folder.

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

    ____                        __                                     
   / __ \____ _____  ___  _____/ /__  __________    ____  ____ __  __
  / /_/ / __ `/ __ \/ _ \/ ___/ / _ \/ ___/ ___/___/ __ \/ __ `/ |/_/
 / ____/ /_/ / /_/ /  __/ /  / /  __(__  |__  )___/ / / / /_/ />  <  
/_/    \__,_/ .___/\___/_/  /_/\___/____/____/   /_/ /_/\__, /_/|_|  
           /_/                                         /____/        
 
 ✓ Stopped Paperless-ngx
 ✓ paperless-task-queue.service Exists.
 ✓ Updated to v2.0.0
 - Cleaning up...rm: cannot remove 'paperless-ngx-v2.0.0.tar.xz': No such file or directory

[ERROR] in line 118: exit code 1: while executing command rm paperless-ngx-$RELEASE.tar.xz

Please provide detailed steps to reproduce the issue.

  1. Have an existing paperless-ngx install.
  2. Change to a directory other than /home/paperless
  3. Run the update script
  4. Error is displayed at the end of the installation
@tteck tteck closed this as completed in f69a118 Nov 29, 2023
@tteck tteck added 🐞 bug Something isn't working ✅ Completed labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working ✅ Completed
Projects
None yet
Development

No branches or pull requests

2 participants