requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js

Home Page:https://js.wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import content from git repo issue

mmbednarz opened this issue · comments

Discussed in #4555

Originally posted by mmbednarz October 7, 2021
Hi,

I am trying to import all wiki content from git repo to new installation.
Synchronization from git to local repo at ./data/repo works fine, i see all content there.

But after import from git to DB nothing happens, there is no content available from web, there are no errors in logs, only two warns:

2021-10-07T07:04:19.904Z [MASTER] info: (STORAGE/GIT) Importing all content from local Git repo to the DB...
2021-10-07T07:04:19.908Z [MASTER] info: (STORAGE/GIT) Processing 210319_lookuptextindatabase.sql...
2021-10-07T07:04:19.909Z [MASTER] info: (STORAGE/GIT) Asset marked as renamed: from undefined to 210319_lookuptextindatabase.sql
2021-10-07T07:04:19.915Z [MASTER] info: (STORAGE/GIT) Asset was not found in the DB, nothing to rename: 210319_lookuptextindatabase.sql
2021-10-07T07:04:19.915Z [MASTER] info: (STORAGE/GIT) Processing BPS.html...
2021-10-07T07:04:19.915Z [MASTER] info: (STORAGE/GIT) Page marked as renamed: from undefined to BPS.html
2021-10-07T07:04:19.916Z [MASTER] warn: Cannot read property 'split' of undefined
2021-10-07T07:04:19.916Z [MASTER] warn: Cannot read property 'split' of undefined

What could be the problem?

I am having this same issue. Is this supposed to be solved in the current version?

@efeefe I had to downgrade to 197 for imports to work again, then I was able to upgrade again to the latest.

@efeefe I had to downgrade to 197 for imports to work again, then I was able to upgrade again to the latest.

Thanks a lot, that did the trick. I hope this get fixed permanently in the near future.