Untitled
Login to your nas with SSH. If you don’t know where your ARR files are, navigate to /etc/init.d And type ls -l <appnamegoeshere-withoutbrackets> This will show you the path to it. Use TAB to autocomplete the name so you get it right.. it is case sensitive. Like this for eg. [/etc/init.d] # ls -l LidarrDotNET83.sh lrwxrwxrwx 1 admin administrators 60 2024-08-30 15:46 LidarrDotNET83.sh -> /share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83/LidarrDotNET83.sh* Navigate to this directory, and list the contents again. [/share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83] # ls Lidarr/ LidarrDotNET83@ LidarrDotNET83.sh* tmp/ We want the appname folder again. So change to this directory.. [/share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83] # cd Lidarr [/share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83/Lidarr] # If you list the contents, you’ll find A LOT of files, but most we don’t need. What we do need, is json files. So list those and you’ll get a much shorter list… [/share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83/Lidarr] # ls -l *.json -rw-r--r-- 1 admin administrators 152296 2024-08-17 13:58 Lidarr.Api.V1.deps.json -rwxrwxr-x 1 admin administrators 47581 2024-03-15 00:26 Lidarr.Common.deps.json* -rw-r--r-- 1 admin administrators 89322 2024-08-17 13:58 Lidarr.Core.deps.json -rw-r--r-- 1 admin administrators 241957 2024-08-17 13:58 Lidarr.deps.json -rw-r--r-- 1 admin administrators 154009 2024-08-17 13:58 Lidarr.Host.deps.json -rw-r--r-- 1 admin administrators 147943 2024-08-17 13:58 Lidarr.Http.deps.json -rwxrwxr-x 1 admin administrators 48799 2024-03-15 00:26 Lidarr.Mono.deps.json* -rw-r--r-- 1 admin administrators 378 2024-08-17 13:58 Lidarr.runtimeconfig.json -rw-r--r-- 1 admin administrators 84993 2024-08-17 13:58 Lidarr.SignalR.deps.json Specifically we want the runtimeconfig. So use VI to edit this file, like this: [/share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83/Lidarr] # vi Lidarr.runtimeconfig.json It should look like this: { "runtimeOptions": { "tfm": "net6.0", "includedFrameworks": [ { "name": "Microsoft.NETCore.App", "version": "6.0.29" }, { "name": "Microsoft.AspNetCore.App", "version": "6.0.29" } ], "configProperties": { "System.Reflection.Metadata.MetadataUpdater.IsSupported": false } } } We just need to add the line "System.Globalization.Invariant": true To this file under the configProperties section so it looks like this. { "runtimeOptions": { "tfm": "net6.0", "includedFrameworks": [ { "name": "Microsoft.NETCore.App", "version": "6.0.29" }, { "name": "Microsoft.AspNetCore.App", "version": "6.0.29" } ], "configProperties": { "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, "System.Globalization.Invariant": true } } } If you’re not familiar with VI, you press the letter “I” to enter INSERT mode. Navigate with the arrow keys, to the end of the line that has the word false at the end, and add a comma. Press enter to drop a line, then tab to move across, and add the line we want exactly like above. Now press the ESCAPE key to exit INSERT mode. Now to save it, just type a colon (shift colon/semicolon button) and you’ll see that appear in the bottom left corner, and type “wq!” without the quotes. That is, write and quit. Now cd back to /etc/init.d And run it again… [/share/CACHEDEV1_DATA/.qpkg/LidarrDotNET83/Lidarr] # cd /etc/init.d [/etc/init.d] # ./LidarrDotNET83.sh start And it should start normally 😊
Leave a Comment