Jump to content
XPEnology Community

The New Active Backup


brauner

Recommended Posts

its work, but you need make:

 

1 - login on DSM, in browser address line, after https://youripsyno:5001/  paste /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS and ENTER.

 

efter ENTER you see 

 

{"success":true}

 

2- after https://youripsyno:5001/ paste  /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

 

after ENTER you see

 

{"data":{"activated":true},"success":true}

 

3 - if you want verefy after https://youripsyno:5001/ paste /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1

 

after ENTER if it OK you see

 

{"data":{"activated":true,"serial_number":"SERIALNUMBER"},"success":true}

 

I try paste complete address from forum, not work, but my metod work fine, not close page.

 

 

  • Like 1
Link to comment
Share on other sites

Ok, I am stuck on this and need some help. I was able to get his to work for active backup for business on my baremetal test bulid. All went well so I finished installing all the hardware and setup for a fresh install. Now no matter what I do I get the {"error":{"code":400},"success":false} on the first step.

 

http://192.168.1.246:5000//webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=****&******=PASS                                             *=protected information.

 

What am i doing incorrectly here. cant move on until i figure out why it does not like my user and passwd.  all lower case, no specials letters or numbers or anything. IDK, HELP PLEASE. 

 

Link to comment
Share on other sites

flyride, Thank you!! In my hours of frustrations I completely overlooked the fact that I am stupid and incorrectly edited the URL's. Followed the mistake you pointed out and BOOM, good to go. Thank you for helping me see my mistake and getting this going. 

 

{"data":{"activated":true,"serial_number":"**********"},"success":true}

Edited by WeezyMike
Link to comment
Share on other sites

  • 3 weeks later...

Okay, been trying to get this to work for an hour or so.  I can run the first line in a browser to log into the NAS and it completes successfully.  However, when I try to run the activation line, it returns the following:

 

{"error":{"code":1024,"errors":{"params":{}}},"success":false}

 

Any insight on what I may be doing wrong?  I've tried a few different serial numbers with the same results.  Thanks!

Link to comment
Share on other sites

Actually, just got it to activate.  Instead of using one of the serial numbers I got from a generator or ebay pics, I tried using the serial listed in the control panel of the DSM.  I thought this was the serial number of the physical box I have (Datto XL1000 4 bay NAS), but I'm guessing it may have been a generic Synology serial number from the loader or something.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Having issues with this, could somebody please shed some light on the issue please?

 

I've installed Active Backup for Business and opened the App on the diskstation and have the activate page open.

 

I've visited a new tab and entered https://diskstation:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=mydiskstationadminuser&passwd=mydiskstationadminuserpassword

 

This responds with 

{"success":true}

This also causes the diskstation tab to refresh and closes Active Backup for Business.

 

I've then visited in the same tab https://diskstation:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="mydiskstationcontrolpanelserialwhicisthedefaultonefromgrub.cfg"

 

This responds with

{"error":{"code":102},"success":false}

 

What am i doing wrong please help?

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...
On 12/29/2020 at 5:11 PM, vortexxx said:

its work, but you need make:

 

1 - login on DSM, in browser address line, after https://youripsyno:5001/  paste /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS and ENTER.

 

efter ENTER you see 

 

{"success":true}

 

2- after https://youripsyno:5001/ paste  /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

 

after ENTER you see

 

{"data":{"activated":true},"success":true}

 

3 - if you want verefy after https://youripsyno:5001/ paste /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1

 

after ENTER if it OK you see

 

{"data":{"activated":true,"serial_number":"SERIALNUMBER"},"success":true}

 

I try paste complete address from forum, not work, but my metod work fine, not close page.

 

 

THANKS this Work PERFECT For me :)

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

DSM 7.0.1-42214

I think DSM7 may have modified some variables so that the API cannot be obtained?

 

 

https://*****.com:4920/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=*****&passwd=*****

{"error":{"code":103},"success":false}

 


https://*****.com:4920/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="1160PDN003634"

{"error":{"code":105},"success":false}

 

 

I adopted an emergency solution:

Open the browser developer tools (F12).

Use the mouse to select the "Activate ABB" DVI layer.

Look up for the nested DVI layers and delete them completely.

After you configure it, although the kit is not activated, it can still work continuously!

 

Note that if you find that you cannot click the package area normally, it means that your DVI layer has not been completely deleted. Please continue to search with the mouse.

 

我采用了应急解决方案:
打开浏览器开发者工具(F12)。
用鼠标选中“激活ABB”DVI层。
向上寻找被嵌套的DVI层,并完整删除它们。
当你配置完毕后,虽然套件没有激活,但仍然可以持续工作!

注意,如果你发现无法正常点击该套件区域,代表着你的DVI层没有完整删除掉,请继续用鼠标寻找。

Edited by imxyd
Link to comment
Share on other sites

  • 1 month later...
В 09.10.2021 в 02:01, imxyd сказал:

DSM 7.0.1-42214

I think DSM7 may have modified some variables so that the API cannot be obtained?

 

 

https://*****.com:4920/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=*****&passwd=*****

{"error":{"code":103},"success":false}

 


https://*****.com:4920/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="1160PDN003634"

{"error":{"code":105},"success":false}

 

 

I adopted an emergency solution:

Open the browser developer tools (F12).

Use the mouse to select the "Activate ABB" DVI layer.

Look up for the nested DVI layers and delete them completely.

After you configure it, although the kit is not activated, it can still work continuously!

 

Note that if you find that you cannot click the package area normally, it means that your DVI layer has not been completely deleted. Please continue to search with the mouse.

 

我采用了应急解决方案:
打开浏览器开发者工具(F12)。
用鼠标选中“激活ABB”DVI层。
向上寻找被嵌套的DVI层,并完整删除它们。
当你配置完毕后,虽然套件没有激活,但仍然可以持续工作!

注意,如果你发现无法正常点击该套件区域,代表着你的DVI层没有完整删除掉,请继续用鼠标寻找。

Can you make the photo or video?

Link to comment
Share on other sites

  • 3 weeks later...

hello,

the api url change

try this (it's working for me)

 

 https://your-ip:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie

 

the other url (for activation) not change

 

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

 

regards

  • Like 8
  • Thanks 5
Link to comment
Share on other sites

  • 1 month later...

Hi, the first step of this process works for me.  When I do the second step, I get the following error:

 

{"error":{"code":102},"success":false}

 

I am using the following command and am in DSM 6.1-15047.

 

https://NAS IP ADDRESS:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="xxxxxxxxxxxx"

 

Thanks in advance for the help!

Link to comment
Share on other sites

  • 2 weeks later...

@AZ3Desert Try what @le.pipo007 wrote right above, it worked for me :)

 

In BOLD what you should replace with your own infortmation

 

Quote

the api url change

try this (it's working for me)

 

https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie

 

the other url (for activation) not change

 

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

 

Edited by ax0r7ag0z
Link to comment
Share on other sites

  • 3 weeks later...

Hi!

Thanks, it works for me!

Baremetal 7.0.1-42218 update 2 /with tinycore-redpill loader/ testing, not production

https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie

 

the other url (for activation) not change

I'am very happy!

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
On 2/21/2022 at 6:43 AM, mackuo said:

Works like a charm. Thank you so much!

Esxi 7.0 Update 2, DSM 7.0.1-42218 Update 2

@mackuo,  Thanks for tag me on this!   I believe I may have been at too down level of a version of DSM.  I'm in the process of rebuilding the system with newer code and will try again.

Link to comment
Share on other sites

  • 4 weeks later...

Codes significations

 

100 Unknown error
101 Invalid parameter
102 The requested API does not exist
103 The requested method does not exist
104 The requested version does not support the functionality
105 The logged in session does not have permission
106 Session timeout107Session interrupted by duplicate login

100 Unknown error.
101 The account parameter is not specified.
400 Invalid password.
401 Guest or disabled account.
402 Permission denied.
403 One time password not specified.
404 One time password authenticate failed.
405 App portal incorrect.
406 OTP code enforced.
407 Max Tries (if auto blocking is set to true).
408 Password Expired Can not Change.
409 Password Expired.
410 Password must change (when first time use or after reset password by admin).
411 Account Locked (when account max try exc

 

WARNING : special characters on password : read quote :-)

 

On 3/28/2019 at 8:11 AM, hoppler said:

 

Hi,

 

the user has to be in the "administrators" group and if the password contains special characters like +?%, you have to encode it first. https://meyerweb.com/eric/tools/dencoder/

 

Example:

 

Username: test

Password: 1+?%abc

has to be encoded to: 1%2B%3F%25abc

 

Result:

https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=test&passwd=1%2B%3F%25abc

 

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...