Skip to content
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

Import error #114

Closed
hofq opened this issue Oct 10, 2024 · 8 comments
Closed

Import error #114

hofq opened this issue Oct 10, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@hofq
Copy link

hofq commented Oct 10, 2024

Bug report

Describe the bug

I am not able to Migrate postgres.new to database.build, because of an Import issue

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Export your Data from postgres.new
  2. Import to database.build
  3. open first db
  4. See error

Expected behavior

See the Database open as it does in postgres.new

Screenshots

grafik

System information

  • OS: macOS
  • Browser 131.0.2
  • Server Versions: Public Instances used

Additional context

My Export:
postgres.new(1).tar.gz

@hofq hofq added the bug Something isn't working label Oct 10, 2024
@gregnr
Copy link
Collaborator

gregnr commented Oct 30, 2024

Thanks for reporting @hofq. Can you confirm which browser this is in (I only see Browser 131.0.2)? Also if possible, could you provide the contents of the Migrations tab for each database you exported from postgres.new?

Thanks!

@hofq
Copy link
Author

hofq commented Nov 1, 2024

Ah yes, running Firefox but tried importing in chrome also

@rashidpathiyil
Copy link

When I try to import postgres.new.tar.gz

image

@gregnr
Copy link
Collaborator

gregnr commented Nov 5, 2024

Still digging into this - by chance do you remember if you had multiple tabs open during import? Seeing some bugs here and there related to having multiple tabs of databaes.build open at the same time, and I wondering if it's related (especially since you mentioned BroadcastChannel @rashidpathiyil)

If yes, could you try importing again while ensuring only one tab is open for database.build?

@gregnr
Copy link
Collaborator

gregnr commented Nov 5, 2024

Okay I believe I've gotten to the root cause of the n.map is not a function error. It's related to a bug in the import logic that was introduced when we upgraded a dependency (PGlite), unrelated to multiple tabs being open. Fixed in #127.

@gregnr
Copy link
Collaborator

gregnr commented Nov 5, 2024

This is now merged to prod: https://database.build/import

Closing this now, but please do let me know if still experience issues importing.

@rashidpathiyil since your bug looks a bit different, if you continue to experience that issue would you mind opening a new issue?

@gregnr gregnr closed this as completed Nov 5, 2024
@rashidpathiyil
Copy link

@gregnr I am still facing the issue #129

@hofq
Copy link
Author

hofq commented Nov 6, 2024

hi @gregnr
Can confirm import works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants