Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 05-29-2024, 03:44 AM   #1
abatie
Junior Member
abatie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2017
Device: Kindle
Could not start the Content server

osx 14.5, calibre 7.11

My mac wedged and logged me out, then I rebooted because some things were wonky and finally got it working again. had to copy the full text db to free a stuck lock and calibre finally started, but failed to start the content server with "No such file or directory". Unfortunately, it doesn't say *which* file was missing. I downloaded the latest calibre and made sure calibre-server was in the appropriate place, but the error persists. I don't suppose there's a hidden log file somewhere that might say what it's unhappy about?
abatie is offline   Reply With Quote
Old 05-29-2024, 04:47 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes calibre-server generates hidden log files, unfortunately they are so well hidden you will never be able to find them. On a less sarcastic note, if you want help at a minimum post the full error message you see, and details about exactly what you are running and how.
kovidgoyal is online now   Reply With Quote
Old 05-29-2024, 05:39 AM   #3
abatie
Junior Member
abatie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2017
Device: Kindle
The error is pretty much what I said, and I posted what I was running, but the exact error when I click Connect/share->Start Content server:

calibre, version 7.11.0
ERROR: Failed to start Content server: Could not start the Content server. Error:

[Errno 2] No such file or directory


Not a terribly helpful error message...
abatie is offline   Reply With Quote
Old 05-29-2024, 06:09 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That would indicate you have a corrupted install. Uninstall and re-install.
kovidgoyal is online now   Reply With Quote
Old 05-29-2024, 04:28 PM   #5
abatie
Junior Member
abatie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2017
Device: Kindle
That's why I updated calibre to start with, but this time I removed the old one first. When I started it, I got the database corruption/db locked error, so I did the rename/copy back to get the full text db unlocked, and calibre started, but still failed to start the content server. I stopped/restarted calibre and it didn't give me the lock error again, but it still failed to start the content server. I don't know what file it thinks is missing:

<mouse.batie.org> [147] $ pwd
/Applications/calibre.app/Contents/MacOS
<mouse.batie.org> [148] $ lf -l
total 2640
-rwxr-xr-x@ 1 alan admin 135008 May 23 19:04 calibre*
-rwxr-xr-x@ 1 alan admin 135136 May 23 19:02 calibre-complete*
-rwxr-xr-x@ 1 alan admin 135136 May 23 19:02 calibre-customize*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 calibre-debug*
-rwxr-xr-x@ 1 alan admin 135008 May 23 19:02 calibre-parallel*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 calibre-server*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 calibre-smtp*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 calibredb*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 ebook-convert*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 ebook-device*
-rwxr-xr-x@ 1 alan admin 134992 May 23 19:02 ebook-edit*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 ebook-meta*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 ebook-polish*
-rwxr-xr-x@ 1 alan admin 134992 May 23 19:02 ebook-viewer*
-rwxr-xr-x@ 1 alan admin 135136 May 23 19:02 fetch-ebook-metadata*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 lrf2lrs*
-rwxr-xr-x@ 1 alan admin 134992 May 23 19:02 lrfviewer*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 lrs2lrf*
-rwxr-xr-x@ 1 alan admin 135136 May 23 19:02 markdown-calibre*
-rwxr-xr-x@ 1 alan admin 135120 May 23 19:02 web2disk*
abatie is offline   Reply With Quote
Old 05-29-2024, 11:21 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You did a rename/copy of what?
kovidgoyal is online now   Reply With Quote
Old 05-30-2024, 08:57 PM   #7
abatie
Junior Member
abatie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2017
Device: Kindle
The full text database (full-text-search.db)
abatie is offline   Reply With Quote
Old 05-30-2024, 10:15 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You got a file locked error and copying a file fixed it? That doesnt seem possible. Post the actual error.
kovidgoyal is online now   Reply With Quote
Old 06-02-2024, 10:19 PM   #9
abatie
Junior Member
abatie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2017
Device: Kindle
I got the error adding some books to the library also, though it eventually worked:

calibre, version 7.11.0
WARNING: Errors while adding: There were problems adding some files, click "Show details" for more information


----------------------------------------------------------------------
Failed to add the file /var/folders/_9/xl3hkrrn571bgtqbcgvjg95m0000gn/C/calibre_7.11.0_tmp_d32lzlb6/g2u722ru_add_books/1/Ames-WLS2-Wolves_Always_Bite.azw3 to the book: Wolves Always Bite (Willow Lake Supernaturals Book 2)
With error:
Traceback (most recent call last):
File "calibre/gui2/add.py", line 492, in add_formats
File "calibre/db/cache.py", line 1985, in add_format
File "calibre/db/tables.py", line 685, in update_fmt
File "calibre/db/backend.py", line 1147, in execute
File "src/cursor.c", line 240, in resetcursor
apsw.BusyError: BusyError: database is locked


----------------------------------------------------------------------
Failed to add the file /var/folders/_9/xl3hkrrn571bgtqbcgvjg95m0000gn/C/calibre_7.11.0_tmp_d32lzlb6/g2u722ru_add_books/2/Ames-WLS1-Hellhounds_Never_Lie.azw3 to the book: Hellhounds Never Lie (Willow Lake Supernaturals Book 1)
With error:
Traceback (most recent call last):
File "calibre/gui2/add.py", line 492, in add_formats
File "calibre/db/cache.py", line 1985, in add_format
File "calibre/db/tables.py", line 685, in update_fmt
File "calibre/db/backend.py", line 1147, in execute
File "src/cursor.c", line 240, in resetcursor
apsw.BusyError: BusyError: database is locked


----------------------------------------------------------------------
Failed to add the file /var/folders/_9/xl3hkrrn571bgtqbcgvjg95m0000gn/C/calibre_7.11.0_tmp_d32lzlb6/g2u722ru_add_books/0/Ames-WLS3-Oracles_Always_Win.azw3 to the book: Oracles Always Win (Willow Lake Supernaturals Book 3)
With error:
Traceback (most recent call last):
File "calibre/gui2/add.py", line 492, in add_formats
File "calibre/db/cache.py", line 1985, in add_format
File "calibre/db/tables.py", line 685, in update_fmt
File "calibre/db/backend.py", line 1147, in execute
File "src/cursor.c", line 240, in resetcursor
apsw.BusyError: BusyError: database is locked
abatie is offline   Reply With Quote
Old 06-03-2024, 01:55 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
These are errors from sqlite. Make sure your calibre library is on an actual locally attached disk with a native filesystem that isnt being simultaneously modified by any other software such as dropbox or similar.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Failed to start Content server: Could not start the Content server. Ramzay Server 4 08-04-2023 11:50 AM
:help: Could not start the content server. Error: Ersatzreifen Calibre 5 06-13-2015 10:37 AM
Can only start the Calibre Content Server once Per port Apothe0sis Calibre 1 04-16-2011 09:25 AM


All times are GMT -4. The time now is 12:06 PM.


MobileRead.com is a privately owned, operated and funded community.