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

The Ghost importer no longer works with Ghost ver. >= 1.0 #345

Closed
preslavrachev opened this issue Feb 25, 2018 · 2 comments
Closed

The Ghost importer no longer works with Ghost ver. >= 1.0 #345

preslavrachev opened this issue Feb 25, 2018 · 2 comments

Comments

@preslavrachev
Copy link

Introduced last July, Ghost 1.0 is a not a really backwards compatible version of Ghost. Unfortunately, I happen to be running my blog on it. Since i'd like to migrate over to Jekyll, I tried using the migrator, but it failed immediately, due to the following error message:

SQLite3::SQLException: no such column: markdown (Sequel::DatabaseError)

As it turns out, the entire database schema seems to be different now. I did a quick lookup on the posts table, and these are the columns I found there:

sqlite> PRAGMA table_info(posts);
0|id|varchar(24)|1||1
1|uuid|varchar(36)|1||0
2|title|varchar(2000)|1||0
3|slug|varchar(191)|1||0
4|mobiledoc|text|0||0
5|html|text|0||0
6|amp|text|0||0
7|plaintext|text|0||0
8|feature_image|varchar(2000)|0||0
9|featured|boolean|1|'0'|0
10|page|boolean|1|'0'|0
11|status|varchar(50)|1|'draft'|0
12|locale|varchar(6)|0||0
13|visibility|varchar(50)|1|'public'|0
14|meta_title|varchar(2000)|0||0
15|meta_description|varchar(2000)|0||0
16|author_id|varchar(24)|1||0
17|created_at|datetime|1||0
18|created_by|varchar(24)|1||0
19|updated_at|datetime|0||0
20|updated_by|varchar(24)|0||0
21|published_at|datetime|0||0
22|published_by|varchar(24)|0||0
23|custom_excerpt|varchar(2000)|0||0
24|codeinjection_head|text|0||0
25|codeinjection_foot|text|0||0
26|og_image|varchar(2000)|0||0
27|og_title|varchar(300)|0||0
28|og_description|varchar(500)|0||0
29|twitter_image|varchar(2000)|0||0
30|twitter_title|varchar(300)|0||0
31|twitter_description|varchar(500)|0||0

I am just reporting this with the hope that an update of the importer gets introduced, or I will try to send a PR myself, when I have a bit more time. For now, I have no other choices left, but to migrate my posts one by one.

@preslavrachev
Copy link
Author

TBH, I haven't tried the JSON importer. It might actually work, but I have some suspicions that even if it does, there might be some content missing.

@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyll jekyll locked and limited conversation to collaborators Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants