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

Problem importing bookmarks #519

Closed
mike2003 opened this issue Aug 16, 2022 · 11 comments
Closed

Problem importing bookmarks #519

mike2003 opened this issue Aug 16, 2022 · 11 comments
Labels
Support Requests for Help regarding setup and usage

Comments

@mike2003
Copy link

I installed Linkace in docker/ubuntu and I have no experience in tuning Linux. When importing I get an error:
Something went wrong while trying to import the bookmarks. Please consult the application logs.
In the log I see several such messages
production.ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'linkace.settings' doesn't exist (SQL: select * from settings where user_id is null)

And what should I do with it now?

@mike2003 mike2003 added the Bug Something isn't working label Aug 16, 2022
@Kovah
Copy link
Owner

Kovah commented Aug 16, 2022

If you have several issues in the logs, please post them all here. If there are sensitive details in it, remove them.

@mike2003
Copy link
Author

These are 9 identical messages.

@Kovah
Copy link
Owner

Kovah commented Aug 16, 2022

production.ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'linkace.settings' doesn't exist (SQL: select * from settings where user_id is null)

There should be date and time at the beginning of each line. Could you please check if date and time line up with the time you started the import. Those errors should usually not pop up when running the import.

@Kovah Kovah added Support Requests for Help regarding setup and usage and removed Bug Something isn't working labels Aug 16, 2022
@mike2003
Copy link
Author

Please consult the application logs.
These are the last lines of the log, there is nothing else. I tried on ubuntu server and desktop. Both imports don't work. Same error.

@mike2003
Copy link
Author

If these are not those errors, then in which log should I look for them? What is "application logs"?

@Kovah
Copy link
Owner

Kovah commented Aug 16, 2022

If the logs are empty, it means that there was no specific issue but no links were found in the imported file.
Which export did you want to import? From Chrome or another browser?

@mike2003
Copy link
Author

I added a link, made an export to CSV, then an import (to check) - there is an error!

@Kovah
Copy link
Owner

Kovah commented Aug 17, 2022

Why did you try to import a csv?
Quote from the docs:

Please notice, that you have to export your bookmarks in the HTML format. Other formats are not supported.

@mike2003
Copy link
Author

mike2003 commented Aug 17, 2022

Because it's a built-in method, how do I know it's not working? There are no warnings about this. And the error message is wrong. You could just write that csv is not supported. Instead, you sent me to the application logs for some reason.

@Kovah
Copy link
Owner

Kovah commented Aug 17, 2022

I really don't know how

Please notice, that you have to export your bookmarks in the HTML format. Other formats are not supported.

could be more clear that only HTML is supported.

@Kovah Kovah closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2022
@mike2003
Copy link
Author

This important information is not on the import and export page. Just change the error message to be more specific so the user can see it right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Requests for Help regarding setup and usage
Projects
None yet
Development

No branches or pull requests

2 participants