API Cross Origin & Blank .db file


#1
  • What’s your URL? This is the easiest way for others to debug your issue
    https://blog.finixgrid.com
  • What version of Ghost are you using?
    1.21.1
  • What configuration?
    Digital Ocean One-Click

I’ve been trying to add my domain as an authorized Cross-Origin, however, when I go to pull the clients from the DB I am getting

Error: no such table: clients

I went to go check the Db file and it seems that is an empty file

You can see from my link that the website is online and active, with users and posts.


#2

As far as I’m aware, sqlite3 will create an empty database if the database file doesn’t exist - can you run ls and make sure ghost.db exists?


#3

the blank file from my FileZilla


#4

@Exuviax Ghost doesn’t use SQLite in production, you should connect to the MySQL database to retrieve the client records.


#5

Thanks for letting me know, must have missed that in the post I was reading last night. That 2 am coding experience.


#6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.