jeofo / SynologyMerge

A bashscript that moves packages from one Synology NAS volume to another.
Apache License 2.0
37 stars 8 forks source link

initct1: Unknown instance #1

Closed brenden77 closed 3 years ago

brenden77 commented 3 years ago

Hello,

I tried your script on my Synology DS412+ and received this error when trying to migrate my apps. I'm not sure if you would know why this happened. But figured i'd report it. I think I will try stepping through the commands to see if I can figure out what part failed. image

jeofo commented 3 years ago

Yeah, I think what's happening here is that Apache isn't running at the moment and the first line of the scripts tries to stop the service which doesn't have an instance. What you can do here is either kind of start the web server on the NAS so that Apache is running or modify the script so that that line is removed if it's already stopped.

brenden77 commented 3 years ago

Yeah, I think what's happening here is that Apache isn't running at the moment and the first line of the scripts tries to stop the service which doesn't have an instance. What you can do here is either kind of start the web server on the NAS so that Apache is running or modify the script so that that line is removed if it's already stopped.

Yes, I think you're correct. I had gone through and stopped every package that I could beforehand. Ha!

I'd just come back to report it was the service stop that gave out. Thanks for your reply just the same! image