fafner Posted December 9, 2022 #126 Posted December 9, 2022 On 10/20/2022 at 12:54 PM, HorstHoden said: https://MYIP:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=MYXPENOLOGYSERIAL { "error": { "code": 119 }, "success": false } This works for Active Backup for Business. But does one know the URL for Active Backup for Google Workspace...? 🤔 Quote
Grifon_A Posted December 13, 2022 #127 Posted December 13, 2022 (edited) Hello, I tried different ways: https://dva1622:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=****&passwd=**** https://dva1622:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=****&passwd=****&format=cookie https://dva1622:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format=cookie But the result is always the same. What am I doing wrong? DSM 7.1.1-42962 Update 2 But as I understood in my case, the port does not need to be specified, then I get error 103 Edited December 13, 2022 by Grifon_A Quote
Gera_Shturman Posted December 13, 2022 #128 Posted December 13, 2022 Grifon_A for DSM 7.1.1-42962 Update 2 https://dva1622/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie https://dva1622/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" 2 Quote
Grifon_A Posted December 14, 2022 #129 Posted December 14, 2022 8 часов назад, Gera_Shturman сказал: https://dva1622/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie {"data":{"did":"BDnQeVhFclDKQKV-bTFfBDD7Q312OYeHFSafokI_1VE3zNfPvMMiQwFKwDyDIMlFzLVe5KE7iBbLvupcGKRcEg","sid":"03bHfm3VjOLMoyHQe3JyXMc6SMyZapWtq-QmTiE9LyQa8kiE9n_jFgb_Cjif5rt-hIlh-LRbGrAxKZ_BFrU4FQ"},"success":true} 8 часов назад, Gera_Shturman сказал: https://dva1622/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" {"error":{"code":102},"success":false} Quote
Pascal Leung Posted December 14, 2022 #130 Posted December 14, 2022 I tested. the last version can activate was 7.1.0-42661 and you can upgrade lastest DSM after activate active backup for business ! Quote
Gera_Shturman Posted December 14, 2022 #131 Posted December 14, 2022 4 часа назад, Grifon_A сказал: {"data":{"did":"BDnQeVhFclDKQKV-bTFfBDD7Q312OYeHFSafokI_1VE3zNfPvMMiQwFKwDyDIMlFzLVe5KE7iBbLvupcGKRcEg","sid":"03bHfm3VjOLMoyHQe3JyXMc6SMyZapWtq-QmTiE9LyQa8kiE9n_jFgb_Cjif5rt-hIlh-LRbGrAxKZ_BFrU4FQ"},"success":true} {"error":{"code":102},"success":false} You may have an error in your login or password or serial number. Repeat again, check the correctness of the parameters being changed. It worked for me. Quote
sumonchai Posted December 15, 2022 #132 Posted December 15, 2022 DS3617xs DSM 7.1.1-42962 Update 2 Not work for activate Quote
Gera_Shturman Posted December 15, 2022 #133 Posted December 15, 2022 7 часов назад, sumonchai сказал: DS3617xs DSM 7.1.1-42962 Update 2 Not work for activate https://ip_NAS/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie https://ip_NAS/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" Work activate 1 Quote
sumonchai Posted December 22, 2022 #134 Posted December 22, 2022 On 12/15/2022 at 10:35 AM, sumonchai said: DS3617xs DSM 7.1.1-42962 Update 2 Not work for activate it Error {"error":{"code":119},"success":false} Quote
sumonchai Posted December 22, 2022 #135 Posted December 22, 2022 On 12/15/2022 at 5:59 PM, Gera_Shturman said: https://ip_NAS/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie https://ip_NAS/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" Work activate OK. It Work. I Use Firefox Activated ✅✅👍👍👍😁😁 1 Quote
Gera_Shturman Posted December 24, 2022 #136 Posted December 24, 2022 В 22.12.2022 в 21:46, sumonchai сказал: OK. It Work. I Use Firefox Activated ✅✅👍👍👍😁😁 I used Google chrome to activate it Quote
alx0101 Posted December 28, 2022 #137 Posted December 28, 2022 Firstly, prep the two URL lines fully, for copy and paste into the address bar. (i used CHrome on a brand new installation of DSM 7.1.1-42962 Update 1 ) important: START AN INCOGNITO tab to ensure independence from any existing logged in sessions !!!! PAste the FIRST LINE in: If using port 5000 and it is http (not https)....whatever your NAS is set to..eg port 5001 for https replace IP_ADDRESS, USERNAME and PASS below with your admin details:- FIRST URL http://IP_ADDRESS:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASS&format=%20cookie FIRST URL LINE result looks like:- (replace some of string with some etc_etc_etc) {"data":{"did":"gL9TOKetc etc etc.........pLh9mJt6w","sid":"bihju7DywBW8etc_etc_etcxHZXQ"},"success":true} If you do not get something like above, recheck your FIRST LINE URL...no point proceeding to the next step until you see something similar to above, with long strings for "did" and "sid". then paste in the same address bar the second link: replace SERIALNUMBER with the SERIAL NUMBER from your DSM control panel INFO page: SECOND URL http://IP_ADDRESS:5000/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" SECOND URL LINE result: {"data":{"activated":true},"success":true} 4 Quote
alx0101 Posted December 30, 2022 #138 Posted December 30, 2022 On 12/23/2022 at 1:46 AM, sumonchai said: OK. It Work. I Use Firefox Activated ✅✅👍👍👍😁😁 Prob because you switched from the browser already logged in. Just open an incognito tab in existing browser. Quote
alx0101 Posted January 1, 2023 #139 Posted January 1, 2023 (edited) I've created a page that generates the links required. https://alxr0101.github.io/ Just input your details, hit the Get Links button and then copy each of the two links generated. IMPORTANT: Need to run these in a "clean" tab...ie cannot be logged in. Easiest is run a new INCOGNITO WINDOW (chrome) or equivalent in EDGE ("new InPrivate WIndow")/Firefox etc. Then paste each into the SAME address bar, the LOGIN one first followed by the ACTIVATE. Edited January 1, 2023 by alx0101 updated URL 6 3 Quote
maxime Posted January 2, 2023 #140 Posted January 2, 2023 On 10/20/2022 at 12:54 PM, HorstHoden said: https://MYIP:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=MYXPENOLOGYSERIAL I obtain {"error":{"code":102},"success":false} Do you know where is the problem? Thanks! Quote
vortexxx Posted January 3, 2023 #141 Posted January 3, 2023 В 28.12.2022 в 17:54, alx0101 сказал: Firstly, prep the two URL lines fully, for copy and paste into the address bar. (i used CHrome on a brand new installation of DSM 7.1.1-42962 Update 1 ) important: START AN INCOGNITO tab to ensure independence from any existing logged in sessions !!!! PAste the FIRST LINE in: If using port 5000 and it is http (not https)....whatever your NAS is set to..eg port 5001 for https replace IP_ADDRESS, USERNAME and PASS below with your admin details:- FIRST URL http://IP_ADDRESS:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASS&format=%20cookie FIRST URL LINE result looks like:- (replace some of string with some etc_etc_etc) {"data":{"did":"gL9TOKetc etc etc.........pLh9mJt6w","sid":"bihju7DywBW8etc_etc_etcxHZXQ"},"success":true} If you do not get something like above, recheck your FIRST LINE URL...no point proceeding to the next step until you see something similar to above, with long strings for "did" and "sid". then paste in the same address bar the second link: replace SERIALNUMBER with the SERIAL NUMBER from your DSM control panel INFO page: SECOND URL http://IP_ADDRESS:5000/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" SECOND URL LINE result: {"data":{"activated":true},"success":true} All works fine in Chrom incognito mode. Quote
alx0101 Posted January 4, 2023 #142 Posted January 4, 2023 On 1/3/2023 at 3:25 AM, maxime said: I obtain {"error":{"code":102},"success":false} Do you know where is the problem? Thanks! Assuming your username and password is correct, you did not paste into a new incognito tab (to start a new session). Quote
dachriss Posted January 4, 2023 #143 Posted January 4, 2023 I have the following setup and I try to activate active backup application. DSM version: DSM 7.1.1-42962 Update 1 - baremetal - HP Proliant microserver GEN10+ I have tried the following: https://my_IP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=my_user&passwd=my-password&format= cookie After the first link I get error403 - which means 403 One time password not specified. https://my_IP:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="my_serial_number" The second link, obviously display success=false Any tip/help is highly appreciated. PS: I have disabled 2FA for this task. Thank you. Quote
spyer Posted January 5, 2023 #144 Posted January 5, 2023 thx, It's works with my N54l DSM 7.1.1-42962 Update 1 Quote
alx0101 Posted January 8, 2023 #145 Posted January 8, 2023 (edited) On 1/5/2023 at 9:33 AM, dachriss said: I have the following setup and I try to activate active backup application. DSM version: DSM 7.1.1-42962 Update 1 - baremetal - HP Proliant microserver GEN10+ I have tried the following: https://my_IP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=my_user&passwd=my-password&format= cookie After the first link I get error403 - which means 403 One time password not specified. https://my_IP:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="my_serial_number" The second link, obviously display success=false Any tip/help is highly appreciated. PS: I have disabled 2FA for this task. Thank you. Try putting %20cookie (instead of the (space)cookie. %20 is equiv to the space that seems to be required after the = sign. Also ensure your are using port 5001 (default) for https (what is your usual login port showing? If no port shows then it's been set to 443 and can leave blank as https:// sets it) Also ensure you paste these URL's into a NEW web browser incognito tab. The first URL generates a new SESSION, the second URL can then activate the service. Must paste into the same address bar as the first. See my URL generator DSM7 (for the first URL, I moved the &format=%20cookie param within the line but the order does not matter). https://alxr0101.github.io/ If you DO NOT SEE something like the below, then no point doing the second activation link. First link must return something like this:- SUCCESSFUL URL 1 login link must look like this.., ending in success..true) {"data":{"did":"1HKGYIY___lots of letters...._ JbtmS-xmg","sid":"8bZt__ lots of letters_____NHmDgFxHlOks"},"success":true} SUCCESSFUL second URL result is this:- {"data":{"activated":true},"success":true} Ensure also the username is an admin and the password is nothing complicated ( re: characters and symbols) in case your browser is messing up the encoding. Edited January 8, 2023 by alx0101 Quote
alx0101 Posted January 8, 2023 #146 Posted January 8, 2023 On 1/5/2023 at 9:33 AM, dachriss said: I have the following setup and I try to activate active backup application. DSM version: DSM 7.1.1-42962 Update 1 - baremetal - HP Proliant microserver GEN10+ I have tried the following: https://my_IP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=my_user&passwd=my-password&format= cookie After the first link I get error403 - which means 403 One time password not specified. Suggest temporarily set another admin account (with no 2FA) and use that after confirming it works for login to DSM GUI. It seems that DSM was still expecting 2FA for the username you set for the activation process. API error code states " 403 2-factor authentication code required" Quote
thanhlee Posted January 11, 2023 #147 Posted January 11, 2023 On 12/15/2022 at 5:59 PM, Gera_Shturman said: https://ip_NAS/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie https://ip_NAS/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" Work activate Thank you, work like a charm ! Quote
pippobimbo Posted January 19, 2023 #148 Posted January 19, 2023 On 12/15/2022 at 11:59 AM, Gera_Shturman said: https://ip_NAS/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie https://ip_NAS/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" Work activate Working great on DSM 7.1.1-42962 Update 3. Thanks! 1 Quote
Nostrand88 Posted January 22, 2023 #149 Posted January 22, 2023 Witch simbols need for Active Backup office 365 ? Quote
hoppler Posted January 29, 2023 #150 Posted January 29, 2023 On 1/1/2023 at 4:51 PM, alx0101 said: I've created a page that generates the links required. https://alxr0101.github.io/ As far is i know, the username and password values have to be urlencoded. A test!"§$ would result in test%21%22%C2%A7%24 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.