View Single Post
Old 11-09-2022, 07:52 AM   #1881
simonbuttress
Junior Member
simonbuttress began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: Raspberry Pi
COPS error/No metadata.db file on Raspberry Pi

Hello, I've read through some similar situations on configuring RPi installations but there's nothing I've found that can help me progress hence my plea here. Total CLI noob so go easy.

I'm trying to set up the COPS through a domain so I can access my ebooks on any device anywhere. I've got the domain set up, SSL certs installed, Calibre installed I believe correctly but I'm now confronted with the following situation when I access the domain when trying to run and configure my setup (see attached file - COPS error)

I've put a couple of ebooks in the folder and as far as I understand the calibre database file is generated as a result of the presence of books. Now what I'm unsure about is that whether I somehow need to run Calibre first to generate the file and then run the COPS bit but I'm at a loss as how to do it.
  • Value of $config['calibre_directory'] in config_local.php (Does it end with a '/'?) - yes it does, i checked that
  • Value of open_basedir in your php.ini - unsure of where this is
  • The access rights of the Calibre Database - for the purposes of troubleshooting I've set it to 777 to remove this as an issue

So yeah I'm kinda stuck. Any pointers would be greatly appreciated.



Moderator Notice
I am moving this post to the COPs thread
Attached Thumbnails
Click image for larger version

Name:	COPS Error.png
Views:	216
Size:	47.4 KB
ID:	197627  

Last edited by chaley; 11-09-2022 at 08:25 AM.
simonbuttress is offline   Reply With Quote