-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue #2
Comments
are you sure you got the script down correctly? I just ran it on 7.0-41890 and did not get that error. I am about to open another issue though :).
in my case. |
Seems to be working on my side. Make sure to download the script raw, maybe you copied and pasted the script? Also, make sure you are using |
i get the same error message. Running 6.2.3 using the exact same commands as you. Maybe an issue with DSM 6 vs DSM 7 |
Yeah, I did write this based on DSM6 and haven't tested it for DSM7 yet. Maybe that's the issue |
I know this is old, but it can be helpful for other newcomers:
This typically means that the file was saved in a "Windows-like" CRLF line sequence format. Linux/SSH expects to see LF line sequence format. Re-download the file and/or convert it in a proper text-editor. |
I aslo ran into the same issue when I tried to just run the command below. |
hi
i get the following when trying to execute the script
/root/migrate.sh: line 7: syntax error near unexpected token
newline' /root/migrate.sh: line 7:
'The text was updated successfully, but these errors were encountered: