DSM 7.0 Synology Package Center cannot be installed

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

Thansk RedNoah

Going to try to install it now
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

Tried to install 4.9.3 OVER 4.9.2 it failed
uninstalled 4.9.2 and install 4.9.3 status is RUNNING

Installed filebot node 0.3.2 OVER the 0.3.1 without issue

Opened file bot not pop out in a new tab port 5452 with same IP (should not it be in a windows inside the DSM 7 ?)
I could set my preferences, like paths, naming conventions
I loaded my licence
I can see now there is a menu "tools ->configure" for open subtitle credentials :o
Closed that tab, reopen firlebot node everything looks like there

click execute nothing, apparently (in the tasks low part of the screen), going to look for the logs
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

Oups forgot I dont have JAVA (from RedNoah) installed doing it now
peppershade
Posts: 7
Joined: 16 Jan 2021, 18:39

Re: DSM 7.0 Synology Package Center cannot be installed

Post by peppershade »

First of all, thanks for releasing a new version. I've installed the new versions on my NAS (DS218+). I did a full reinstall of everything including your java package. Java is confirmed installed and FileBot commands work in the SSH teminal and it has permissions configured to access the folders. But for some reason FileBot node isn't doing anything. The console stays empty no matter where I click. Is it confirmed working on your NAS?

EDIT:
I found that the GUI is trying to retrieve the information from a JS file but it gets a 401 unauthorized error https://prnt.sc/x4eo7x
Last edited by peppershade on 18 Jan 2021, 11:26, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DSM 7.0 Synology Package Center cannot be installed

Post by rednoah »

What does the filebot-node.log say? What does the network console (i.e. Chrome ➔ View ➔ Developer ➔ Developer Console) inside your browser say?
:idea: Please read the FAQ and How to Request Help.
peppershade
Posts: 7
Joined: 16 Jan 2021, 18:39

Re: DSM 7.0 Synology Package Center cannot be installed

Post by peppershade »

There is nothing in the log but I did find that the app.js is not accessible and gives a 401 (Unauthorized) error on load and when executing a task.

Here is a more detailed screenshot of the network tab: https://prnt.sc/x4fmvd
Last edited by peppershade on 18 Jan 2021, 11:36, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DSM 7.0 Synology Package Center cannot be installed

Post by rednoah »

1.
There is always something in the log. Because it'll print something on startup.


2.
401 Unauthorized likely means that the node service is generally running, but somehow Synology DSM login integration doesn't work. If you login into DSM, then those session cookies should allow you to use FileBot Node. It works for me. Let's see if it works for other random users, or not.
:idea: Please read the FAQ and How to Request Help.
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

rednoah wrote: 18 Jan 2021, 11:23 What does the filebot-node.log say? What does the network console (i.e. Chrome ➔ View ➔ Developer ➔ Developer Console) inside your browser say?
at my place error report is

Code: Select all

Failed to load resource: the server responded with a status of 401 (Unauthorized)
:5452/version?_dc=1610969692048:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
app.js?_dc=20210118153103:1 Uncaught RangeError: Maximum call stack size exceeded
    at RegExp.exec (<anonymous>)
    at RegExp.[Symbol.replace] (<anonymous>)
    at String.replace (<anonymous>)
    at Object.encodeString (app.js?_dc=20210118153103:1)
    at Object.doEncode [as encodeValue] (app.js?_dc=20210118153103:1)
    at encodeObject (app.js?_dc=20210118153103:1)
    at Object.doEncode [as encodeValue] (app.js?_dc=20210118153103:1)
    at encodeObject (app.js?_dc=20210118153103:1)
    at Object.doEncode [as encodeValue] (app.js?_dc=20210118153103:1)
    at encodeObject (app.js?_dc=20210118153103:1)
encodeString @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
XMLHttpRequest.send (async)
start @ app.js?_dc=20210118153103:1
request @ app.js?_dc=20210118153103:1
dispatchRequest @ app.js?_dc=20210118153103:1
requestVersion @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
fire @ app.js?_dc=20210118153103:1
doFireEvent @ app.js?_dc=20210118153103:1
b.doFireEvent @ app.js?_dc=20210118153103:1
fireEventArgs @ app.js?_dc=20210118153103:1
fireEvent @ app.js?_dc=20210118153103:1
success @ app.js?_dc=20210118153103:1
callback @ app.js?_dc=20210118153103:1
onComplete @ app.js?_dc=20210118153103:1
onStateChange @ app.js?_dc=20210118153103:1
g @ app.js?_dc=20210118153103:1
XMLHttpRequest.send (async)
start @ app.js?_dc=20210118153103:1
request @ app.js?_dc=20210118153103:1
dispatchRequest @ app.js?_dc=20210118153103:1
requestAuth @ app.js?_dc=20210118153103:1
init @ app.js?_dc=20210118153103:1
launch @ app.js?_dc=20210118153103:1
onBeforeLaunch @ app.js?_dc=20210118153103:1
onBeforeLaunch @ app.js?_dc=20210118153103:1
onProfilesReady @ app.js?_dc=20210118153103:1
constructor @ app.js?_dc=20210118153103:1
constructor @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
invoke @ app.js?_dc=20210118153103:1
doInvokeAll @ app.js?_dc=20210118153103:1
invokeAll @ app.js?_dc=20210118153103:1
handleReady @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
setTimeout (async)
defer @ app.js?_dc=20210118153103:1
handleReadySoon @ app.js?_dc=20210118153103:1
fireReady @ app.js?_dc=20210118153103:1
doReadyEvent @ app.js?_dc=20210118153103:1
onReadyEvent @ app.js?_dc=20210118153103:1
load (async)
bind @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
(anonymous) @ app.js?_dc=20210118153103:1
Show 170 more frames
:5452/state?_dc=1610969692048:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
app.js?_dc=20210118153103:1 Uncaught RangeError: Maximum call stack size exceeded
    at RegExp.exec (<anonymous>)
    at RegExp.[Symbol.replace] (<anonymous>)
    at String.replace (<anonymous>)
    at Object.encodeString (app.js?_dc=20210118153103:1)
    at Object.doEncode [as encodeValue] (app.js?_dc=20210118153103:1)
    at encodeObject (app.js?_dc=20210118153103:1)
    at Object.doEncode [as encodeValue] (app.js?_dc=20210118153103:1)
    at encodeObject (app.js?_dc=20210118153103:1)
    at Object.doEncode [as encodeValue] (app.js?_dc=20210118153103:1)
    at encodeObject (app.js?_dc=20210118153103:1)
encodeString @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
doEncode @ app.js?_dc=20210118153103:1
encodeObject @ app.js?_dc=20210118153103:1
peppershade
Posts: 7
Joined: 16 Jan 2021, 18:39

Re: DSM 7.0 Synology Package Center cannot be installed

Post by peppershade »

I normally use a reverse proxy for my NAS, but that don't seem to work at all and the page doesn't even load. Now I opened a incognito browser tab and logged in locally by ip on port 5000, but that still doesn't work.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DSM 7.0 Synology Package Center cannot be installed

Post by rednoah »

That's just random ExtJS logging caused the 401 Unauthorized response. We'll want to look at the filebot-node.log on the server-side.


i.e. SSH into NAS and then run:

Code: Select all

sudo cat /var/packages/filebot-node/target/filebot-node.log
:idea: Please read the FAQ and How to Request Help.
peppershade
Posts: 7
Joined: 16 Jan 2021, 18:39

Re: DSM 7.0 Synology Package Center cannot be installed

Post by peppershade »

This is what i get. The authenticate.cgi is almost endless in the file

Code: Select all

ENVIRONMENT {
  FILEBOT_CMD: 'filebot',
  MAX_DB_CONNECTIONS: '10',
  SYNOPKG_PKGVAR: '/volume1/@appdata/filebot-node',
  SYNOPKG_USERNAME: '[REDACTED]',
  OLDPWD: '/',
  SYNOPKG_PKGNAME: 'filebot-node',
  SYNOPKG_DSM_VERSION_MAJOR: '7',
  JAVA_OPTS: '',
  FILEBOT_CMD_GID: '106247',
  SYNOPKG_PKGHOME: '/volume1/@apphome/filebot-node',
  USER: 'FileBot',
  SYNOPKG_DSM_VERSION_MINOR: '0',
  SYNOPKG_PKGTMP: '/volume1/@apptemp/filebot-node',
  SYNOPKG_DSM_VERSION_BUILD: '41222',
  SELF: 'filebot-node',
  PWD: '/var/packages/filebot-node/target',
  SYNOPKG_TEMP_REPLACE_FOLDER: '/volume1/@tmp/synopkg.tmp/filebot-node',
  SYNOPKG_PKGVER: '0.3.2',
  FILEBOT_NODE_DATA: '/var/packages/filebot-node/var',
  SYNOPKG_DSM_LANGUAGE: 'enu',
  SYNOPKG_DSM_ARCH: 'apollolake',
  SYNOPKG_PKG_PROGRESS_PATH: '/tmp/install_progress_filebot-node',
  FILEBOT_NODE_HTTP: 'YES',
  FILEBOT_NODE_AUTH: 'SYNO',
  FILEBOT_NODE_CLIENT: 'client',
  SYNOPKG_PKGDEST_VOL: '/volume1',
  FILEBOT_TASK_CMD: 'filebot-node-task',
  SHLVL: '3',
  CPU_COUNT: '10',
  FILEBOT_CMD_CWD: '/volume1',
  SYNOPKG_PKG_STATUS: 'INSTALL',
  PATH: '/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin',
  FILEBOT_NODE_HOST: '0.0.0.0',
  FILEBOT_NODE_HTTP_PORT: '5452',
  FILEBOT_CMD_UID: '106247',
  SYNOPKG_TEMP_LOGFILE: '/tmp/synopkgmgr.log-filebot-node',
  SYNOPKG_PKGDEST: '/volume1/@appstore/filebot-node',
  _: '/usr/local/bin/node'
}
USER { UID: 106247, GID: 106247 }
filebot-node listening at http://0.0.0.0:5452/
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=HInshTKABUO6NjT0ewwk6CqaqkoON7eAFyxR8zZ64zIcQOykUXk1LJYsK6AImRvfCJ2bPiPDJIn2Yo2rfz_a8A; _ga=GA1.1.115015009.1600765903; organizrLanguage=en; _CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; stay_login=0; did=c08hkIzBG6N9vH-fv1QBDzgFjQAAlO9NW8cYcyAzbUNekLEOqTfIDGy1AQtSOkNJ_PHPyH_qFMYIGb5Om_oMbw; compact_display_state=true',
  REMOTE_ADDR: '192.168.69.7'
}
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=HInshTKABUO6NjT0ewwk6CqaqkoON7eAFyxR8zZ64zIcQOykUXk1LJYsK6AImRvfCJ2bPiPDJIn2Yo2rfz_a8A; _ga=GA1.1.115015009.1600765903; organizrLanguage=en; _CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; stay_login=0; did=c08hkIzBG6N9vH-fv1QBDzgFjQAAlO9NW8cYcyAzbUNekLEOqTfIDGy1AQtSOkNJ_PHPyH_qFMYIGb5Om_oMbw; compact_display_state=true',
  REMOTE_ADDR: '192.168.69.7'
}
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=HInshTKABUO6NjT0ewwk6CqaqkoON7eAFyxR8zZ64zIcQOykUXk1LJYsK6AImRvfCJ2bPiPDJIn2Yo2rfz_a8A; _ga=GA1.1.115015009.1600765903; organizrLanguage=en; _CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; stay_login=0; did=c08hkIzBG6N9vH-fv1QBDzgFjQAAlO9NW8cYcyAzbUNekLEOqTfIDGy1AQtSOkNJ_PHPyH_qFMYIGb5Om_oMbw; compact_display_state=true',
  REMOTE_ADDR: '192.168.69.7'
}
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=HInshTKABUO6NjT0ewwk6CqaqkoON7eAFyxR8zZ64zIcQOykUXk1LJYsK6AImRvfCJ2bPiPDJIn2Yo2rfz_a8A; _ga=GA1.1.115015009.1600765903; organizrLanguage=en; _CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; stay_login=0; did=c08hkIzBG6N9vH-fv1QBDzgFjQAAlO9NW8cYcyAzbUNekLEOqTfIDGy1AQtSOkNJ_PHPyH_qFMYIGb5Om_oMbw; compact_display_state=true',
  REMOTE_ADDR: '192.168.69.7'
}
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=HInshTKABUO6NjT0ewwk6CqaqkoON7eAFyxR8zZ64zIcQOykUXk1LJYsK6AImRvfCJ2bPiPDJIn2Yo2rfz_a8A; _ga=GA1.1.115015009.1600765903; organizrLanguage=en; _CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; stay_login=0; did=c08hkIzBG6N9vH-fv1QBDzgFjQAAlO9NW8cYcyAzbUNekLEOqTfIDGy1AQtSOkNJ_PHPyH_qFMYIGb5Om_oMbw; compact_display_state=true',
  REMOTE_ADDR: '192.168.69.7'
}
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=HInshTKABUO6NjT0ewwk6CqaqkoON7eAFyxR8zZ64zIcQOykUXk1LJYsK6AImRvfCJ2bPiPDJIn2Yo2rfz_a8A; _ga=GA1.1.115015009.1600765903; organizrLanguage=en; _CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; stay_login=0; did=c08hkIzBG6N9vH-fv1QBDzgFjQAAlO9NW8cYcyAzbUNekLEOqTfIDGy1AQtSOkNJ_PHPyH_qFMYIGb5Om_oMbw; compact_display_state=true',
  REMOTE_ADDR: '192.168.69.7'
}
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

rednoah wrote: 18 Jan 2021, 11:42 That's just random ExtJS logging caused the 401 Unauthorized response. We'll want to look at the filebot-node.log on the server-side.
i.e. SSH into NAS and then run:

Code: Select all

sudo cat /var/packages/filebot-node/target/filebot-node.log
It says multiple times

Code: Select all

fxgxWyPVM; io=AAPduyISLS-uXQHEAAAB',
  REMOTE_ADDR: '192.168.1.15'
}
/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: 'smid=9z3mz2DVafzJRUjQFWJoCZY8u9qQKzmSkewSVpGINdT8NZUkzo_wCwIo6OGGohk1mfWHe9lajkizxAdMtMP6Ww; _CrPoSt=aHR0cDovLzE5Mi4xNjguMS4xMDo1MDAwLw%3D%3D; did=sr7NOx-2xs4V36sEzNpxeT89f9c_esV1EAVp-4SWL6EVAjbQYu4CFDbZ_KWkeImUQv6CNbUdwwfHrFZNfnac3w; _SSID=AK_aOphJITd0skNvjSGAcHjVnuOy08NeQ9J2SRNMFSw; stay_login=0; id=KCX3N3fhtKJMP0NwddL47R0jqxZuG8S6Yk-pE5moGbU7VGp_OxKmu7S8d_OB0hUJ2vugJvlYtb2esfxgxWyPVM; io=AAPduyISLS-uXQHEAAAB',
  REMOTE_ADDR: '192.168.1.15'
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DSM 7.0 Synology Package Center cannot be installed

Post by rednoah »

Strange. The HTTP_COOKIE should be all it needs.


Please open this in your browser to see if your DSM 7 still uses SynoToken for CSRF mitigation:

Code: Select all

http://<IP>:5000/webman/login.cgi
:idea: Please read the FAQ and How to Request Help.
peppershade
Posts: 7
Joined: 16 Jan 2021, 18:39

Re: DSM 7.0 Synology Package Center cannot be installed

Post by peppershade »

This is the response

Code: Select all

{ "SynoToken" : "[REDACTED]", "result" : "success", "success" : true }
This is the latest log in filebot node

Code: Select all

/usr/syno/synoman/webman/modules/authenticate.cgi
{
  HTTP_COOKIE: '_CrPoSt=aHR0cDovLzE5Mi4xNjguNjkuMzo1MDAwLw%3D%3D; _SSID=IFRLXrNOxCUEvgcH1oGXxwQoOiDLn159Ykp7uMYhdnw; did=wQ7oYN0itytTmd5_6Ecu3YaixDvpkFvAnmwKCwRrTjEeopbaWhF5Z90OqdubUBe5cHWQX6cTDzz1Sg8lw94-nQ; id=g3tuYjxa6rISvlRd-m1GCBdxAFasIhxh9XUKeJHVQiIm8mvrE4Lrc_7-FGjhj_P2NUWgmr0fbYZ24ty0kjUvzc; io=74NtEKPZzz254uRWAAAF',
  REMOTE_ADDR: '192.168.69.7'
}
Last edited by peppershade on 18 Jan 2021, 12:02, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DSM 7.0 Synology Package Center cannot be installed

Post by rednoah »

peppershade wrote: 18 Jan 2021, 11:56 This is the response

Code: Select all

{ "SynoToken" : "lnv2GsnftC5mY", "result" : "success", "success" : true }
That might explain things. Try disabling Improve protection against cross-site request forgery attacks in the Security settings to see if that makes a difference. (NOTE: might require restart and relogin)
:idea: Please read the FAQ and How to Request Help.
peppershade
Posts: 7
Joined: 16 Jan 2021, 18:39

Re: DSM 7.0 Synology Package Center cannot be installed

Post by peppershade »

It seems to work! :) I'm going to test it now

Edit: Confirmed working! Thank you very much for the support :D
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

rednoah wrote: 18 Jan 2021, 12:00
That might explain things. Try disabling Improve protection against cross-site request forgery attacks in the Security settings to see if that makes a difference. (NOTE: might require restart and relogin)
Yes needs to logoff and login again after disabling the security feature and work at my place too

thanks a lot for that work, truly appreciated, will do an additional donation.
For the diverse tools I am using on my synology, you are the first one with a functional software on DSM 7 !!
Tdoc
Posts: 40
Joined: 20 Feb 2018, 08:19

Re: DSM 7.0 Synology Package Center cannot be installed

Post by Tdoc »

@RedNoah
Argh, no it is not picking anything there is a "Permission denied" issue
I am using my account with full admin rights to enter.
I use the same account to map that [Dawnloads_raw] to my pc for example
I tried in SSH to delete a file with that same account without any issue

found the solution !!

right click on the shared folder where the file are present / where filebot is looking at (in my case it is a shared forlder called /volume2/Downloads_raw) -->Tab Permission
Filebot was not there, so -->Create -> User or group select Filebot, Type -> Allow , Apply to ->All
then below select read and write permissions, click done and then save (filebot is now on the list for who got the permission)

do it again for where the files are going to be moved and stored (in my case it is a shared folder called /volume2/Video)

for the record and google search engine the error looked like that:

Code: Select all

filebot -script 'fn:amc' /volume2/Downloads_raw --output /volume2/Video --action move -non-strict --order Airdate --conflict auto --lang en --def 'music=y' 'unsorted=y' 'clean=y' 'deleteAfterExtract=y' 'seriesFormat=Series/{ny}/{episode.special ? '\''Special'\'' : '\''Season '\''+s}/{n}-({y})-{episode.special ? '\''S00E'\''+special.pad(2) : s00e00}-{t}-Audio {audio.language}' 'animeFormat=Anime/{n}.{y}.{order.airdate.s00e00}.#{absolute}.{t}.[{airdate}]' 'movieFormat=Movies/{collection+'\''/'\''}{n.sortName('\''$2, $1'\'')}.{y}.{vf}.{vc}.{ac}.[{bitdepth}] bit.{audio.language}' 'musicFormat=Music/{n}/{album+'\''/'\''}{artist} - {album} - CD{media.PartPosition} - {pi.pad(2)} - {t}' --apply refresh --log all --log-file '/var/packages/filebot-node/var/filebot.log'

------------------------------------------

Run script [fn:amc] at [Mon Jan 18 14:49:37 CET 2021]
Parameter: music = y
Parameter: unsorted = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = Series/{ny}/{episode.special ? 'Special' : 'Season '+s}/{n}-({y})-{episode.special ? 'S00E'+special.pad(2) : s00e00}-{t}-Audio {audio.language}
Parameter: animeFormat = Anime/{n}.{y}.{order.airdate.s00e00}.#{absolute}.{t}.[{airdate}]
Parameter: movieFormat = Movies/{collection+'/'}{n.sortName('$2, $1')}.{y}.{vf}.{vc}.{ac}.[{bitdepth}] bit.{audio.language}
Parameter: musicFormat = Music/{n}/{album+'/'}{artist} - {album} - CD{media.PartPosition} - {pi.pad(2)} - {t}
Argument[0]: /volume2/Downloads_raw
Permission denied: /volume2/Downloads_raw
Permission denied: /volume2/Downloads_raw
No files selected for processing
Done ¯\_(ツ)_/¯

------------------------------------------

[Process completed]


Post Reply