michealespinola / syno.plexupdate

A script to automagically update Plex Media Server on Synology NAS
GNU General Public License v3.0
273 stars 23 forks source link

DS1815+: Not Working - Output.log Shows #3

Closed war59312 closed 3 years ago

war59312 commented 3 years ago

Hi,

First off, thank you for creating this. You rock.

Sadly it is NOT working on my DS1815+.

I turned on the logging in Task Scheduled and output.log shows the following:

/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 2: $'\r': command not found
/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 13: $'\r': command not found
/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 16: $'\r': command not found
/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 25: $'\r': command not found
/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 28: $'\r': command not found

SYNO.PLEX UPDATER SCRIPT v2.9.9.3

/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 36: $'\r': command not found
/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 190: syntax error near unexpected token `elif'
/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/syno.plexupdate.sh: line 190: `  elif [ "$PlexChannl" -eq "8" ]; then

Thank you,

Will

michealespinola commented 3 years ago

Hi Will,

My apologies! I don't understand how this happened, but line feeds got converted to Windows format from Unix in my text editor before I pushed the new code to GitHub. It's fixed now. Sorry!

war59312 commented 3 years ago

No worries, thank you for fixing it so quickly. :)

Worked perfectly, after changing 7 days to 2 since it's a new release.

SYNO.PLEX UPDATER SCRIPT v2.9.9.3

         Script: syno.plexupdate.sh v2.9.9.3
     Script Dir: /volume1/homes/Will/scripts/bash/plex/syno.plexupdate
    Running Ver: 2.9.9.3
     Online Ver: 2.3.3
       Released: 2020-09-06 09:34:14-04:00 (90+ days old)
             * No new version found.

       Synology: DS1815+-j (x86_64), DSM 6.2.3-25426 Update 2
       Plex Dir: /volume1/Plex/Library/Application Support/Plex Media Server
     Plex Token: 99dHVuB1oNE18A4Kz7wF
    Running Ver: 1.18.5.2309-f5213a238
     Online Ver: 1.21.0.3711-b509cc236 (Public Channel)
       Released: 2020-12-01 17:19:08-05:00 (3+ days old)
             * Newer version found!

    New Package: PlexMediaServer-1.21.0.3711-b509cc236-x86_64.spk
    Package Age: 3+ days old (2+ required for install)

INSTALLING NEW PACKAGE:
----------------------------------------
2020-12-05 09:54:10 URL:https://downloads.plex.tv/plex-media-server-new/1.21.0.3711-b509cc236/synology/PlexMediaServer-1.21.0.3711-b509cc236-x86_64.spk [111831040/111831040] -> "/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/Archive/Packages/PlexMediaServer-1.21.0.3711-b509cc236-x86_64.spk" [1]
package Plex Media Server stop successfully

/volume1/homes/Will/scripts/bash/plex/syno.plexupdate/Archive/Packages/PlexMediaServer-1.21.0.3711-b509cc236-x86_64.spk install successfully

package Plex Media Server start successfully
----------------------------------------

    Update from: 1.18.5.2309-f5213a238
             to: 1.21.0.3711-b509cc236 succeeded!

FIXED FEATURES:
----------------------------------------
* (EPG) Reintroduce support for the following countries once the Gracenote provider is enabled - Australia, Hungary, India, Netherlands, New Zealand, Poland, Russia, South Africa, Switzerland, Uruguay. (#12135)
* (Filters) HDR filter could miss some items (#12060)
* (Library) Date-based shows weren't getting metadata.
* (Transcoder) Older versions of Nvidia drivers (supporting API version 9.0 but not version 10.0) are now supported again (#12091)
----------------------------------------