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

Importing on dev #2230

Open
roughnecks opened this issue Dec 18, 2024 · 6 comments
Open

Importing on dev #2230

roughnecks opened this issue Dec 18, 2024 · 6 comments

Comments

@roughnecks
Copy link

Hello,
what's the rationale behind instructions for importing a version < 1 into new dev container?

doc says to export data, start the new dev container up, import zip data and then go back and "start from scratch"??
how is that supposed to work? I just tried and everything is new, since I started from scratch!

image

@roughnecks
Copy link
Author

some log:

homarrv1  | 2024-12-18T06:35:41.192Z error: tRPC Error with mutation on 'import.importInitialOldmarrImport': (INTERNAL_SERVER_ERROR) - Mapping widget in sidebar is not supported

@Meierschlumpf
Copy link
Collaborator

Hey to export the data from the old version you need to run the old version (ghcr.io/ajnart/homarr:dev) and then import it in the beta (ghcr.io/homarr-labs/homarr)

@roughnecks
Copy link
Author

I am running v0.15.10 right now. Exported from there and done the rest as explained. After clicking to import the zip, the page reloads and nothing really happens. What am I supposed to do next?

As I said, docs tell to start from scratch, but that can't be right, right?

@SonGokussj4
Copy link

Same for me. Nothing happens when I select the ZIP to upload. Not sure why.

@GPavlovic
Copy link

When I hit the export button, all I see is:

image

@SonGokussj4
Copy link

I can now import the ZIP, but I can't login into my account.

I've tried to reset the password

$ docker compose -p homarr exec homarr /bin/bash
3d50eb0d6ebb:/app# homarr reset-password -u SonGokussj4
2024-12-19T21:54:22.812Z warn: Using a fallback encryption key, stored secrets are not secure
All sessions for user SonGokussj4 have been deleted
You can now login with the new password
New password for user SonGokussj4: 4cf91260ef40c8f350fc2091e94ff1f08da35e8f14e8daa7

So using
U: SonGokussj4 (I've tried songokussj4 too)
P: 4cf91260ef40c8f350fc2091e94ff1f08da35e8f14e8daa7

But still the same - cannot login.

Logs

homarr  | 2024-12-19T21:58:07.949Z info: user SonGokussj4 was not found
homarr  | w: Read more at https://errors.authjs.dev#credentialssignin
homarr  |     at iA (/app/apps/nextjs/.next/server/chunks/862.js:375:42991)
homarr  |     at async iB (/app/apps/nextjs/.next/server/chunks/862.js:375:52148)
homarr  |     at async i_ (/app/apps/nextjs/.next/server/chunks/862.js:375:56408)
homarr  |     at async d (/app/apps/nextjs/.next/server/app/api/auth/[...nextauth]/route.js:1:2027)
homarr  |     at async /app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:38411
homarr  |     at async e_.execute (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:27880)
homarr  |     at async e_.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:39745)
homarr  |     at async doRender (/app/node_modules/next/dist/server/base-server.js:1353:42)
homarr  |     at async cacheEntry.responseCache.get.routeKind (/app/node_modules/next/dist/server/base-server.js:1575:28)
homarr  |     at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/next/dist/server/base-server.js:1483:28) {
homarr  |   type: 'CredentialsSignin',
homarr  |   kind: 'signIn',
homarr  |   code: 'credentials'
homarr  | }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants