-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Migration 1.x to 2.0.x fails on Windows : couldn't open sink #21534
Comments
@PeggyFree I think I have a fix (absolute path on Windows worked for me with my changes), if you have a free minute would you mind checking too? You can download a build from my branch out of the CircleCI artifact repository: https://191768-13124802-gh.circle-artifacts.com/0/artifacts/influxdb2-client-nightly-windows-amd64.zip |
@danxmoran thank you for your help. Unfortunately your nightly build didn't solve the problem. Same error message. |
@PeggyFree sorry about that, you're right I pasted the wrong link. Try this one: https://191768-13124802-gh.circle-artifacts.com/0/artifacts/influxdb2-nightly-windows-amd64.zip |
Thank you for your patience @danxmoran . The upgrade process now fails the step after :
The script asks for a user : ok |
Yes, that's #21838. Our escape sequences need some fixing up... As a work-around, you can pass the password (and other parameters from that dialog) to |
I'm sorry to bother you again @danxmoran , It now stops one second later. All seems to be linked...
Looks like my parameters still need to be tuned to login for the first time on influxdbV2, I see this ticket : |
Based on your example it looks like you're missing the The error message you hit is very unhelpful, I'll open a separate issue to track improving it. |
Windows 7 with powershell 7
Migrating from influxdb 1.7.6 to 2.0.6 using command .\influxd.exe upgrade
Working directory is "C:\influxdb"
-> An error occurs : couldn't open sink "C:\Users\MY_CURRENT_USER\upgrade.log": no sink found for scheme "c"
I googled and found that this may need some tweaking in the migration code to make the sink compatible with Windows : uber-go/zap#621
Did someone manage to uprade under windows?
The text was updated successfully, but these errors were encountered: