博客每天备份到GitHub,今天用备份恢复出现错误
我用主题是louie_senpai_siren
halo 1.2
如果主题中只加入anatole主题 ,会报错
Halo has started successfully!
2020-03-14 17:03:53.799 INFO 6 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-03-14 17:03:53.810 ERROR 6 --- [ main] o.s.boot.SpringApplication : Application run failed
run.halo.app.exception.NotFoundException: 没有找到 id 为 louie_senpai_siren 的主题
at run.halo.app.service.impl.ThemeServiceImpl.lambda$getThemeOfNonNullBy$0(ThemeServiceImpl.java:108) ~[classes!/:1.2.0]
at run.halo.app.service.impl.ThemeServiceImpl$$Lambda$970.0000000042C75B10.
我备份的时候把主题也备份了 ,所以我把主题louie_senpai_siren 加到themes中,又报这个错误
Halo has started successfully!
2020-03-14 17:11:12.140 WARN 6 --- [ main] r.h.app.service.impl.ThemeServiceImpl : Property file was not found in [/root/.halo/templates/themes/louie_senpai_siren]
2020-03-14 17:11:12.145 INFO 6 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-03-14 17:11:12.158 ERROR 6 --- [ main] o.s.boot.SpringApplication : Application run failed
run.halo.app.exception.ThemePropertyMissingException: /root/.halo/templates/themes/louie_senpai_siren 没有说明文件
at run.halo.app.service.impl.ThemeServiceImpl.lambda$getThemePropertyPath$11(ThemeServiceImpl.java:797) ~[classes!/:1.2.0]
at run.halo.app.service.impl.ThemeServiceImpl$$Lambda$964.0000000065D2DE60.get(Unknown Source) ~[na:na]
不懂了。。