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

Missing assembly crash after auto-update. Log included. #5208

Open
sigmaprojects opened this issue May 6, 2019 · 37 comments

Comments

Projects
None yet
@sigmaprojects
Copy link

commented May 6, 2019

After auto updating, this error continues to popup. Deleting the Jackett directory and re-downloading/installing fixes it, until it auto-updates again. For now I've disabled the update.
If anyone has any insight, I'd appreciate it.
jackett.log

@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 7, 2019

please upload the updater.txt from the same folder you found the log.txt thanks.

@sigmaprojects

This comment has been minimized.

Copy link
Author

commented May 7, 2019

Ah sorry I forgot that one. Attached.
updater.txt

flightlevel added a commit that referenced this issue May 11, 2019

@flightlevel

This comment has been minimized.

Copy link
Contributor

commented May 11, 2019

The updater just died, added some extra logging/exception handling to try and capture what's happening

@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 11, 2019

@sigmaprojects please manually install jackett pre-release v0.11.320, and hopefully the extra logging flightlevel has added will reveal more info into what might be going on with your package when the next auto-update kicks in.

@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 11, 2019

oh, and don't forget to enable auto-updates again, and also update-to-pre-release on your dashboard, followed by clicking on the apply-server-settings button. ;-)

@sigmaprojects

This comment has been minimized.

Copy link
Author

commented May 11, 2019

Done & done, log currently states:

Checked for a updated release but none was found. Current: v0.11.320 Latest: v0.11.320

As soon as a new build comes out and if it crashes again, I'll update with the logs again.

Thank you for the help, and thanks to everyone for the work on jackett in general, I love this thing.

@sigmaprojects

This comment has been minimized.

Copy link
Author

commented May 12, 2019

Sad to say, it failed again. This time I'm not able to see an actual error. Attached is the log & updater.txt
This is the syslog output if that helps at all:

May 11 19:55:42 dionysus systemd[1]: Started Jackett Daemon.
May 11 19:55:42 dionysus systemd[1]: jackett.service: Main process exited, code=killed, status=7/BUS
May 11 19:55:42 dionysus systemd[1]: jackett.service: Unit entered failed state.
May 11 19:55:42 dionysus systemd[1]: jackett.service: Failed with result 'signal'.

jackett-0.11.325.txt

@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

what platform are you running, how much memory have you got?
it may be an out of free memory issue...

@sigmaprojects

This comment has been minimized.

Copy link
Author

commented May 12, 2019

don@dionysus:~$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        272M        3.4G         10M        239M        3.4G
Swap:          4.0G          0B        4.0G
don@dionysus:~$ cat /proc/version
Linux version 4.9.0-6-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)

It's just a Debian 9.9 VM in ESXi 5.5. If it doesn't look like an application issue, I'll just nuke the guest and setup on centos or something.

@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

lets see if @flightlevel has any insights.

@Rouzax

This comment has been minimized.

Copy link

commented May 19, 2019

Not sure but mine also keeps crashing since recently
Each time when I stop the services and overwrite it with the latest release from Github, it works again.

Log file

2019-05-19 07:43:07.3804 Error Connection id "0HLMRF9VQAAN3", Request id "0HLMRF9VQAAN3:00000001": An unhandled exception was thrown by the application. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Http.Extensions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.AspNetCore.Http.Extensions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__185`1.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

2019-05-19 07:43:07.3648 Error Connection id "0HLMRF9VQAAN1", Request id "0HLMRF9VQAAN1:00000001": An unhandled exception was thrown by the application. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Http.Extensions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.AspNetCore.Http.Extensions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__185`1.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

2019-05-19 07:43:07.3648 Error Connection id "0HLMRF9VQAAN6", Request id "0HLMRF9VQAAN6:00000001": An unhandled exception was thrown by the application. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Http.Extensions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.AspNetCore.Http.Extensions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__185`1.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Updater.txt
updater.txt
updater.txt.20190512.00000.txt
updater.txt.20190516.00000.txt

@flightlevel

This comment has been minimized.

Copy link
Contributor

commented May 22, 2019

Can someone try changing the RestartSec parameter to 120 https://github.com/Jackett/Jackett/blob/master/install_service_systemd.sh#L44

@rrrevin

This comment has been minimized.

Copy link

commented May 22, 2019

I've updated RestartSec as requested. Will report back what happens.

@rrrevin

This comment has been minimized.

Copy link

commented May 23, 2019

I enabled "update to pre-release", then did a check for update. Issue remains.

This is my service file:

[Unit]
Description=Jackett Daemon
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=120
SyslogIdentifier=jackett
TimeoutStopSec=20
WorkingDirectory=/opt/Jackett
User=qbt
Group=qbt
ExecStart=/opt/Jackett/jackett --NoRestart

[Install]
WantedBy=multi-user.target

Upgrade fails and Microsoft.AspNetCore.Authentication.Abstractions.dll is 0 bytes.

update log below (removed all the yml update lines):

May 22 20:17:12 npi jackett[15360]: 05-22 20:17:12 Info Jackett variant: CoreLinuxArm64
May 22 20:17:13 npi jackett[15360]: 05-22 20:17:13 Info New release found.  Current: v0.11.355 New: v0.11.362
May 22 20:17:50 npi jackett[15360]: 05-22 20:17:50 Info Starting updater: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/JackettUpdater --Path "/opt/Jackett" --Type "Console" --Args " --NoRestart" --KillPids "15360" --NoRestart
May 22 20:17:50 npi jackett[15360]: 05-22 20:17:50 Info Updater started process id: 1704
May 22 20:17:55 npi jackett[15360]: 05-22 20:17:55 Info Jackett Updater v0.11.362.0
May 22 20:17:55 npi jackett[15360]: 05-22 20:17:55 Info Options "--Path" "/opt/Jackett" "--Type" "Console" "--Args" " --NoRestart" "--KillPids" "15360" "--NoRestart"
May 22 20:17:55 npi jackett[15360]: 05-22 20:17:55 Info Jackett variant: CoreLinuxArm64
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to remove: /opt/Jackett/DateTimeRoutines.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Deleted /opt/Jackett/DateTimeRoutines.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to remove: /opt/Jackett/jackett.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Deleted /opt/Jackett/jackett.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to remove: /opt/Jackett/JackettUpdater.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Deleted /opt/Jackett/JackettUpdater.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to remove: /opt/Jackett/Jackett.Common.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Deleted /opt/Jackett/Jackett.Common.pdb
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to remove: /opt/Jackett/jackett
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Deleted /opt/Jackett/jackett
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Finding files in: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info 633 update files found
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to copy AngleSharp.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/AngleSharp.dll to destination: /opt/Jackett/AngleSharp.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Copied AngleSharp.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to copy Autofac.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Autofac.dll to destination: /opt/Jackett/Autofac.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Copied Autofac.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to copy Autofac.Extensions.DependencyInjection.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Autofac.Extensions.DependencyInjection.dll to destination: /opt/Jackett/Autofac.Extensions.DependencyInjection.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Copied Autofac.Extensions.DependencyInjection.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to copy AutoMapper.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/AutoMapper.dll to destination: /opt/Jackett/AutoMapper.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Copied AutoMapper.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to copy BencodeNET.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/BencodeNET.dll to destination: /opt/Jackett/BencodeNET.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Copied BencodeNET.dll
May 22 20:17:56 npi jackett[15360]: 05-22 20:17:56 Info Attempting to copy CloudFlareUtilities.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/CloudFlareUtilities.dll to destination: /opt/Jackett/CloudFlareUtilities.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied CloudFlareUtilities.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy CommandLine.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/CommandLine.dll to destination: /opt/Jackett/CommandLine.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied CommandLine.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy animate.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/animate.css to destination: /opt/Jackett/Content/animate.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied animate.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy binding_dark.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/binding_dark.png to destination: /opt/Jackett/Content/binding_dark.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied binding_dark.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy bootstrap.min.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/bootstrap/bootstrap.min.css to destination: /opt/Jackett/Content/bootstrap/bootstrap.min.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied bootstrap.min.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy bootstrap.min.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/bootstrap/bootstrap.min.js to destination: /opt/Jackett/Content/bootstrap/bootstrap.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied bootstrap.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy common.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/common.js to destination: /opt/Jackett/Content/common.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied common.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy congruent_outline.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/congruent_outline.png to destination: /opt/Jackett/Content/congruent_outline.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied congruent_outline.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy crissXcross.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/crissXcross.png to destination: /opt/Jackett/Content/crissXcross.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied crissXcross.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy bootstrap-multiselect.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/css/bootstrap-multiselect.css to destination: /opt/Jackett/Content/css/bootstrap-multiselect.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied bootstrap-multiselect.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy font-awesome.min.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/css/font-awesome.min.css to destination: /opt/Jackett/Content/css/font-awesome.min.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied font-awesome.min.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy jquery.dataTables.min.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/css/jquery.dataTables.min.css to destination: /opt/Jackett/Content/css/jquery.dataTables.min.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied jquery.dataTables.min.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy custom_mobile.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/custom_mobile.css to destination: /opt/Jackett/Content/custom_mobile.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied custom_mobile.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy custom.css from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/custom.css to destination: /opt/Jackett/Content/custom.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied custom.css
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy custom.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/custom.js to destination: /opt/Jackett/Content/custom.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied custom.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy favicon.ico from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/favicon.ico to destination: /opt/Jackett/Content/favicon.ico
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied favicon.ico
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy fontawesome-webfont.eot from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/fontawesome-webfont.eot to destination: /opt/Jackett/Content/fonts/fontawesome-webfont.eot
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied fontawesome-webfont.eot
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy fontawesome-webfont.svg from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/fontawesome-webfont.svg to destination: /opt/Jackett/Content/fonts/fontawesome-webfont.svg
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied fontawesome-webfont.svg
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy fontawesome-webfont.ttf from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/fontawesome-webfont.ttf to destination: /opt/Jackett/Content/fonts/fontawesome-webfont.ttf
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied fontawesome-webfont.ttf
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy fontawesome-webfont.woff from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/fontawesome-webfont.woff to destination: /opt/Jackett/Content/fonts/fontawesome-webfont.woff
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied fontawesome-webfont.woff
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy fontawesome-webfont.woff2 from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/fontawesome-webfont.woff2 to destination: /opt/Jackett/Content/fonts/fontawesome-webfont.woff2
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied fontawesome-webfont.woff2
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy FontAwesome.otf from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/FontAwesome.otf to destination: /opt/Jackett/Content/fonts/FontAwesome.otf
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied FontAwesome.otf
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy glyphicons-halflings-regular.eot from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/glyphicons-halflings-regular.eot to destination: /opt/Jackett/Content/fonts/glyphicons-halflings-regular.eot
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied glyphicons-halflings-regular.eot
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy glyphicons-halflings-regular.svg from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/glyphicons-halflings-regular.svg to destination: /opt/Jackett/Content/fonts/glyphicons-halflings-regular.svg
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied glyphicons-halflings-regular.svg
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy glyphicons-halflings-regular.ttf from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/glyphicons-halflings-regular.ttf to destination: /opt/Jackett/Content/fonts/glyphicons-halflings-regular.ttf
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied glyphicons-halflings-regular.ttf
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy glyphicons-halflings-regular.woff from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/glyphicons-halflings-regular.woff to destination: /opt/Jackett/Content/fonts/glyphicons-halflings-regular.woff
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied glyphicons-halflings-regular.woff
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy glyphicons-halflings-regular.woff2 from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/fonts/glyphicons-halflings-regular.woff2 to destination: /opt/Jackett/Content/fonts/glyphicons-halflings-regular.woff2
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied glyphicons-halflings-regular.woff2
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy sort_asc_disabled.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/images/sort_asc_disabled.png to destination: /opt/Jackett/Content/images/sort_asc_disabled.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied sort_asc_disabled.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy sort_asc.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/images/sort_asc.png to destination: /opt/Jackett/Content/images/sort_asc.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied sort_asc.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy sort_both.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/images/sort_both.png to destination: /opt/Jackett/Content/images/sort_both.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied sort_both.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy sort_desc_disabled.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/images/sort_desc_disabled.png to destination: /opt/Jackett/Content/images/sort_desc_disabled.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied sort_desc_disabled.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy sort_desc.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/images/sort_desc.png to destination: /opt/Jackett/Content/images/sort_desc.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied sort_desc.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy index.html from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/index.html to destination: /opt/Jackett/Content/index.html
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied index.html
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy jacket_medium.png from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/jacket_medium.png to destination: /opt/Jackett/Content/jacket_medium.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied jacket_medium.png
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy api.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/api.js to destination: /opt/Jackett/Content/libs/api.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied api.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy bootstrap-multiselect.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/bootstrap-multiselect.js to destination: /opt/Jackett/Content/libs/bootstrap-multiselect.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied bootstrap-multiselect.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy bootstrap-notify.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/bootstrap-notify.js to destination: /opt/Jackett/Content/libs/bootstrap-notify.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied bootstrap-notify.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy filesize.min.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/filesize.min.js to destination: /opt/Jackett/Content/libs/filesize.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied filesize.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy handlebars.min.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/handlebars.min.js to destination: /opt/Jackett/Content/libs/handlebars.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied handlebars.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy handlebarsextend.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/handlebarsextend.js to destination: /opt/Jackett/Content/libs/handlebarsextend.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied handlebarsextend.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy handlebarsmoment.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/handlebarsmoment.js to destination: /opt/Jackett/Content/libs/handlebarsmoment.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied handlebarsmoment.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy jquery.dataTables.min.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/jquery.dataTables.min.js to destination: /opt/Jackett/Content/libs/jquery.dataTables.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied jquery.dataTables.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy jquery.min.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/jquery.min.js to destination: /opt/Jackett/Content/libs/jquery.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied jquery.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy moment.min.js from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/libs/moment.min.js to destination: /opt/Jackett/Content/libs/moment.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied moment.min.js
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy login.html from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Content/login.html to destination: /opt/Jackett/Content/login.html
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied login.html
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy CsQuery.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/CsQuery.dll to destination: /opt/Jackett/CsQuery.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied CsQuery.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy DateTimeRoutines.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/DateTimeRoutines.dll to destination: /opt/Jackett/DateTimeRoutines.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied DateTimeRoutines.dll
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Attempting to copy DateTimeRoutines.pdb from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/DateTimeRoutines.pdb to destination: /opt/Jackett/DateTimeRoutines.pdb
May 22 20:17:57 npi jackett[15360]: 05-22 20:17:57 Info Copied DateTimeRoutines.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy ICSharpCode.SharpZipLib.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/ICSharpCode.SharpZipLib.dll to destination: /opt/Jackett/ICSharpCode.SharpZipLib.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied ICSharpCode.SharpZipLib.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy install_service_systemd.sh from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/install_service_systemd.sh to destination: /opt/Jackett/install_service_systemd.sh
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied install_service_systemd.sh
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy jackett from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/jackett to destination: /opt/Jackett/jackett
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied jackett
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy Jackett.Common.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Jackett.Common.dll to destination: /opt/Jackett/Jackett.Common.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied Jackett.Common.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy Jackett.Common.pdb from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/Jackett.Common.pdb to destination: /opt/Jackett/Jackett.Common.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied Jackett.Common.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy jackett.deps.json from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/jackett.deps.json to destination: /opt/Jackett/jackett.deps.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied jackett.deps.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy jackett.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/jackett.dll to destination: /opt/Jackett/jackett.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied jackett.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy jackett.pdb from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/jackett.pdb to destination: /opt/Jackett/jackett.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied jackett.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy jackett.runtimeconfig.json from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/jackett.runtimeconfig.json to destination: /opt/Jackett/jackett.runtimeconfig.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied jackett.runtimeconfig.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy JackettUpdater from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/JackettUpdater to destination: /opt/Jackett/JackettUpdater
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied JackettUpdater
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy JackettUpdater.deps.json from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/JackettUpdater.deps.json to destination: /opt/Jackett/JackettUpdater.deps.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied JackettUpdater.deps.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy JackettUpdater.dll from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/JackettUpdater.dll to destination: /opt/Jackett/JackettUpdater.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied JackettUpdater.dll
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy JackettUpdater.pdb from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/JackettUpdater.pdb to destination: /opt/Jackett/JackettUpdater.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied JackettUpdater.pdb
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy JackettUpdater.runtimeconfig.json from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/JackettUpdater.runtimeconfig.json to destination: /opt/Jackett/JackettUpdater.runtimeconfig.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied JackettUpdater.runtimeconfig.json
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy libclrjit.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libclrjit.so to destination: /opt/Jackett/libclrjit.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied libclrjit.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy libcoreclr.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libcoreclr.so to destination: /opt/Jackett/libcoreclr.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied libcoreclr.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy libcoreclrtraceptprovider.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libcoreclrtraceptprovider.so to destination: /opt/Jackett/libcoreclrtraceptprovider.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied libcoreclrtraceptprovider.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy libdbgshim.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libdbgshim.so to destination: /opt/Jackett/libdbgshim.so
May 22 20:17:59 npi systemd[1]: jackett.service: Main process exited, code=killed, status=11/SEGV
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Copied libdbgshim.so
May 22 20:17:59 npi jackett[15360]: 05-22 20:17:59 Info Attempting to copy libhostfxr.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libhostfxr.so to destination: /opt/Jackett/libhostfxr.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Copied libhostfxr.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Attempting to copy libhostpolicy.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libhostpolicy.so to destination: /opt/Jackett/libhostpolicy.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Copied libhostpolicy.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Attempting to copy libMonoPosixHelper.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libMonoPosixHelper.so to destination: /opt/Jackett/libMonoPosixHelper.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Copied libMonoPosixHelper.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Attempting to copy libmscordaccore.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libmscordaccore.so to destination: /opt/Jackett/libmscordaccore.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Copied libmscordaccore.so
May 22 20:18:00 npi jackett[15360]: 05-22 20:18:00 Info Attempting to copy libmscordbi.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libmscordbi.so to destination: /opt/Jackett/libmscordbi.so
May 22 20:18:01 npi jackett[15360]: 05-22 20:18:01 Info Copied libmscordbi.so
May 22 20:18:01 npi jackett[15360]: 05-22 20:18:01 Info Attempting to copy libsos.so from source: /tmp/JackettUpdate-v0.11.362-636941530433043129/Jackett/libsos.so to destination: /opt/Jackett/libsos.so
May 22 20:18:03 npi systemd[1]: jackett.service: Unit entered failed state.
May 22 20:18:03 npi systemd[1]: jackett.service: Failed with result 'signal'.
@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 23, 2019

@rrrevin just to be clear, you started with a manual install of jackett v0.11.361 to ensure you have all the pieces, then after shutting down the service and updating the RestartSec parm, you started the service and did a update check to upgrade to pre-release v 0.11.362 ?
[edit] correction of versions ;-)

@rrrevin

This comment has been minimized.

Copy link

commented May 23, 2019

In a nutshell yes; but the versions were v0.11.355 (manual install) to v0.11.362 (check for upgrade)

@garfield69

This comment has been minimized.

Copy link
Contributor

commented May 23, 2019

@rrrevin terrific, thanks for the update. @flightlevel the ball is back in your court ;-)

@rrrevin

This comment has been minimized.

Copy link

commented May 23, 2019

Is jackett trying to update itself? Perhaps having a script or a seperate jackett-updater script/exe that does not use the same libraries, or is statically linked would be an option?

@Rouzax

This comment has been minimized.

Copy link

commented May 24, 2019

Had the same issue again, after the latest auto upgrade
Here the updater log.
updater.txt

@rrrevin

This comment has been minimized.

Copy link

commented May 24, 2019

Happened again on autoupdate from 361 to 364. Zero byte file created, causing jackett to SEGV.

@Rouzax

This comment has been minimized.

Copy link

commented May 25, 2019

Do you want me to still upload the log each time this happens?
Happened again with the upgrade to v0.11.375
updater.txt
My Setup
Windows 2019
RAM: 8 GB
CPU: 6 vCPU

@edjalmobf

This comment has been minimized.

Copy link

commented May 25, 2019

what platform are you running, how much memory have you got?
it may be an out of free memory issue...

I'm having the same problem. This is happening here when I click on check for updates. If Jackett update automatic it does not happen.
Maybe is a memory issue. Here I use swap on my system. Jackett .Net version use a lot of memory for update (about 300M), if I don't use swap my system freezes.
This update issue is already warned here
I use in a Raspberry Pi 3b. In mono version this not happend, but .Net version is much better for use.
journalctl -u service.jackett show this https://pastebin.com/XaZnmZr9
and systemctl status service.jackett.service show this https://pastebin.com/qv9kxjMc
updater.txt (shows manually and automatically updates, for what I saw): https://pastebin.com/K8b7HBu5

@ngosang

This comment has been minimized.

Copy link
Contributor

commented May 25, 2019

Same loop. I reinstalled manually version 0.11.375.0 and It's working by now... we will see in the next update.

@rrrevin

This comment has been minimized.

Copy link

commented May 26, 2019

what platform are you running, how much memory have you got?
it may be an out of free memory issue...

I'm having the same problem. This is happening here when I click on check for updates. If Jackett update automatic it does not happen.
Maybe is a memory issue. Here I use swap on my system. Jackett .Net version use a lot of memory for update (about 300M), if I don't use swap my system freezes.

Definitely not a memory issue. I believe the issue is the autoupdate tries to update a file that is "in use", causing jackett to crash. Because the file was "in use", the updater can't update it, thus resulting in a zero byte file on the file that was being updated.. or something along those lines.

@edjalmobf

This comment has been minimized.

Copy link

commented May 26, 2019

Definitely not a memory issue.

Maybe is not a memory issue, but .Net version use much more memory for upgrade then Mono version.
And, for what I see, this problem it's only happens with .Net version.

@DeathIsUnknown

This comment has been minimized.

Copy link

commented May 26, 2019

@edjalmobf I can confirm that this issue occurs on both the Mono and non-Mono ARM64 version.

@DeathIsUnknown

This comment has been minimized.

Copy link

commented May 26, 2019

Here are links to some of the debugging I've done on this issue in other places. Hopefully it helps:
#5285 (comment)
MichaIng/DietPi#2593 (comment)

@jackettbot

This comment has been minimized.

Copy link

commented May 30, 2019

Hi @sigmaprojects,

No response has been received for 7 days. To prevent issue tracker clutter, this issue will now be closed. To re-open the issue, please provide the information requested and the issue will automatically re-open.

@jackettbot jackettbot bot closed this May 30, 2019

@Rouzax

This comment has been minimized.

Copy link

commented May 30, 2019

Issue has not been resolved, please reopen.

@CptanPanic

This comment has been minimized.

Copy link

commented May 30, 2019

This issue is happening for me also, and have to keep restoring the CSharp dll.

@ngosang

This comment has been minimized.

Copy link
Contributor

commented May 30, 2019

I agree with @rrrevin The solution should be write a little bash script to replace the files in Linux.
Write a little bash script which only does:

  1. Receives arguments like installation path and downloaded files path
  2. Waits few seconds until Jackett and JackettUpdater process ends
  3. Move files from download => installation path
  4. Launch Jackett

You keep the current updater for doing most tasks. In Linux SO, just let the downloaded files in one folder, call the bash script and end the Updater process, so the bash script can do the job.

@rrrevin

This comment has been minimized.

Copy link

commented Jun 6, 2019

Any update on this? I've completely disabled auto-updates due to the constant crashing.
Anything we end-users can do to help in way of debugging?

@willmcginnis

This comment has been minimized.

Copy link

commented Jun 11, 2019

It happens after every auto update. A really easy way to replicate is to:

  1. Install Ubuntu 18.04 and install all updates
  2. Download one release older than the latest release of Jackett, unpack, move to /opt
  3. Run "sudo /opt/Jackett/install_service_systemd.sh"
  4. Wait for the auto-update
@naderkasri

This comment has been minimized.

Copy link

commented Jun 15, 2019

I also have an issue with this. Installed Jackett through Swizzin on a Debian 9 dedicated server and Jackett will crash and won't work anymore after it auto-updates itself.

@liaralabs

This comment has been minimized.

Copy link

commented Jun 18, 2019

For what it's worth, I've written a script and placed it in /usr/local/bin/. chmod +x'd it and put the script in front of ExecStart with ExecStartPre.

ExecStartPre:

ExecStartPre=/usr/local/bin/updatejackett

updatejackett:

#!/bin/bash
user=$(whoami)
jackettver=$(wget -q https://github.com/Jackett/Jackett/releases/latest -O - | grep -E \/tag\/ | grep -v repository | awk -F "[><]" '{print $3}')
cd /home/$user
rm -rf Jackett
wget -q https://github.com/Jackett/Jackett/releases/download/$jackettver/Jackett.Binaries.LinuxAMDx64.tar.gz
tar -xvzf Jackett.Binaries.LinuxAMDx64.tar.gz > /dev/null 2>&1
rm -f Jackett.Binaries.LinuxAMDx64.tar.gz
chown ${user}.${user} -R Jackett

It's not a pretty work around to download the latest version of Jackett each and every time Jackett starts (regardless of whether it's up to date or not), but it's prevented my users from opening tickets about Jackett breaking each time their app automatically updates.

@uchagani

This comment has been minimized.

Copy link

commented Jun 18, 2019

chiming in to say i've also got this issue

@willmcginnis

This comment has been minimized.

Copy link

commented Jun 18, 2019

Inspired by @liaralabs here's my take on the quick-n-dirty workaround using a script and "ExecStartPre=". I have systemd running as a user and my Jackett in /opt, maybe this will be helpful to someone with a similar configuration. I'll try turning on auto-updates again and seeing if this works for a week or so.

/usr/local/bin/update_jackett

#!/usr/bin/env bash
user="$(whoami)"
group="$(id | awk -F "[()]" '{print $4}')"
rm -r "/opt/Jackett/"*
cd "/home/${user}"
wget -q "$(wget -q -O- https://api.github.com/repos/Jackett/Jackett/releases/latest | grep browser_download_url | grep AMDx64 | awk -F "[\"\"]" '{print $4}')"
tar -xf "Jackett.Binaries.LinuxAMDx64.tar.gz"
rm "/home/${user}/Jackett.Binaries.LinuxAMDx64.tar.gz"
mv "/home/${user}/Jackett/"* "/opt/Jackett/"
rmdir "/home/${user}/Jackett"

By the way, for any devs reading that work on the C# portions of Jackett: to replicate, installing Ubuntu Server in a VM should take less than 20 min and you would definitely see the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.