View Single Post
Old 07-20-2022, 05:30 PM   #1866
jajaX
Junior Member
jajaX began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2022
Device: samsung galaxy Z fold 2 5G
hi,

thanks for help

my config_local.php =>

Code:
<?php
    if (!isset($config))
        $config = array();
  
    /*
     * The directory containing calibre's metadata.db file, with sub-directories
     * containing all the formats.
     * BEWARE : it has to end with a /
     */
    $config['calibre_directory'] = array (
    "Romans Star Wars Legends" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèques_Star_Wars_Legends_(Romans)/", 
    "Romans Star Wars Officiel" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèque_Star_Wars_Officiel_(Romans)/",
    "Bibliothèque de livres" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèque_calibre/",
    "Bibliothèque enfants" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèque_enfants/");
    $config['calibre_internal_directory'] = array (
    "Romans Star Wars Legends" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèques_Star_Wars_Legends_(Romans)/", 
    "Romans Star Wars Officiel" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèque_Star_Wars_Officiel_(Romans)/",
    "Bibliothèque de livres" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèque_calibre/",
    "Bibliothèque enfants" => "/home/server/nextcloud/jaja/files/Librairie/Bibliothèque_enfants/");
    /*
     * Catalog's title
     */
    $config['cops_title_default'] = "Bibliothèque de JaJa";
    
    /*
     * use URL rewriting for downloading of ebook in HTML catalog
     * See README for more information
     *  1 : enable
     *  0 : disable
     */
    $config['cops_use_url_rewriting'] = "1";
    $config['cops_update_epub-metadata'];
    $config['cops_x_accel_redirect'] = "";
$config['cops_thumbnail_handling'] = "";
$config['cops_thumbnail_cache_directory'] = "/config/cache/";
an excerpt from my caliber library =>

Code:
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Marilyn Manson'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Mario D.Dederichs'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Mario Puzo'
drwxrwxr-x  3 www-data www-data    4096 juin  15 21:52 'Mark Brake'
drwxrwxr-x  3 www-data www-data    4096 juin  15  2021 'Mark Manson'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Marlin Marynick'
drwxrwxr-x  3 www-data www-data    4096 oct.  22  2020 'Martel Frederic'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Martel, Frederic'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020  Martel,Frederic
drwxrwxr-x  6 www-data www-data    4096 oct.  19  2020 'Martha Wells'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Martin Kitchen'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Masson Philippe'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Matt Haig'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Matthew Fitzsimmons'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Matthieu BONAN'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Maurice Benroubi'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Maurice Rajsfus'
drwxrwxr-x  3 www-data www-data    4096 oct.  19  2020 'Max Cavalera'
on other =>

Code:
/nextcloud/jaja/files/Librairie/Bibliothèque_calibre/Max Cavalera$ ls -l
total 4
drwxrwxr-x 2 www-data www-data 4096 oct.  19  2020 'My Bloody Roots. De Sepultura a Soulfly et au-dela (1299)'
note : I use Cops with a domain name and a Let's Encrypt certificate. but i never had this problem...
jajaX is offline   Reply With Quote