gerbera / gerbera

UPnP Media Server for 2024: Stream your digital media through your home network and consume it on all kinds of UPnP supporting devices 📱💻📺
https://gerbera.io
Other
1.2k stars 213 forks source link

gerbera.service always activating #874

Closed milanding6 closed 3 years ago

milanding6 commented 4 years ago

I installed gerbera from ppa:stephenczetty/gerbera-updates.But gerbera can't start.below is debug info.please help.THX

gerbera@orangepipcplus:~$ gerbera -D 2020-05-17 16:24:06 INFO: Gerbera UPnP Server version 1.3.5 - http://gerbera.io/ 2020-05-17 16:24:06 INFO: =============================================================================== 2020-05-17 16:24:06 INFO: Gerbera is free software, covered by the GNU General Public License version 2 2020-05-17 16:24:06 INFO: Copyright 2016-2019 Gerbera Contributors. 2020-05-17 16:24:06 INFO: Gerbera is based on MediaTomb: Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer. 2020-05-17 16:24:06 INFO: =============================================================================== 2020-05-17 16:24:06 DEBUG: [src/singleton.cc:68] registerSingleton(): registering new singleton... - 0 -> 1 2020-05-17 16:24:06 INFO: Loading configuration from: /var/lib/gerbera/.config/gerbera/config.xml 2020-05-17 16:24:06 INFO: Checking configuration... 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/tmpdir using default value: /tmp/ 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/servedir using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/storage/sqlite3/synchronous using default value: off 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/storage/sqlite3/on-error using default value: restore 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/storage/sqlite3/backup/attribute::enabled using default value: no 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/storage/sqlite3/backup/attribute::interval using default value: 600 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/ui/attribute::poll-when-idle using default value: no 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/ui/attribute::poll-interval using default value: 2 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/ui/items-per-page/attribute::default using default value: 25 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/mappings/extension-mimetype/attribute::case-sensitive using default value: no 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:596] validate(): received UTF-8 from nl_langinfo 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/filesystem-charset using default value: UTF-8 2020-05-17 16:24:06 INFO: Setting filesystem import charset to UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/metadata-charset using default value: UTF-8 2020-05-17 16:24:06 INFO: Setting metadata import charset to UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/playlist-charset using default value: UTF-8 2020-05-17 16:24:06 INFO: Setting playlist charset to UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/protocolInfo/attribute::samsung-hack using default value: no 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/pc-directory/attribute::upnp-hide using default value: no 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/interface using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/ip using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/bookmark using default value: gerbera.html 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/modelName using default value: Gerbera 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/modelDescription using default value: Free UPnP AV MediaServer, GNU GPL 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/modelNumber using default value: 1.3.5 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/modelURL using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/serialNumber using default value: 1 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/manufacturer using default value: Gerbera Contributors 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/manufacturerURL using default value: http://gerbera.io/ 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/presentationURL using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/presentationURL/attribute::append-to using default value: none 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/upnp-string-limit using default value: -1 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/scripting/playlist-script/attribute::create-link using default value: yes 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /server/port using default value: 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/autoscan/attribute::use-inotify using default value: auto 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/library-options/libexif/auxdata using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/library-options/exiv2/auxdata using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/library-options/id3/auxdata using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/library-options/ffmpeg/auxdata using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/magic-file using default value: 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/online-content/SopCast/attribute::enabled using default value: no 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/online-content/SopCast/attribute::refresh using default value: 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/online-content/SopCast/attribute::purge-after using default value: 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1379] getOption(): Config: option not found: /import/online-content/SopCast/attribute::update-at-start using default value: no 2020-05-17 16:24:06 INFO: Configuration check succeeded. 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1341] validate(): Config file dump after validation:

Gerbera uuid:1a6aa740-0681-4300-8ad9-f55406348b25 /var/lib/gerbera/ /usr/share/gerbera/web 1800 /var/lib/gerbera//gerbera.db offrestore localhost gerbera gerbera 128 5 yes no 8 * video /tmp/gerbera.htmlGerberaFree UPnP AV MediaServer, GNU GPL1.3.51Gerbera Contributorshttp://gerbera.io/-10 /usr/share/gerbera/js/common.js /usr/share/gerbera/js/playlists.js /usr/share/gerbera/js/import.js UTF-8UTF-8UTF-8 audio/mpeg no yes no video/mpeg yes yes yes

2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1996] dumpOptions(): Dumping options! 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 00 - 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 01 - 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 02 - 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 03 - Gerbera 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 04 - Gerbera Contributors 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 05 - http://gerbera.io/ 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 06 - Gerbera 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 07 - Free UPnP AV MediaServer, GNU GPL 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 08 - 1.3.5 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 09 - 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 10 - 1 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 11 - 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 12 - none 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 13 - uuid:1a6aa740-0681-4300-8ad9-f55406348b25 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 14 - /var/lib/gerbera/ 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 15 - /tmp// 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 16 - /usr/share/gerbera/web 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 17 - 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 18 - 1800 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 19 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 21 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 22 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 23 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 24 - gerbera.html 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 26 - -1 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 27 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 28 - 2 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 29 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 30 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 32 - 30 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 33 - 25 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 35 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 36 - sqlite3 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 37 - /var/lib/gerbera//gerbera.db 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 38 - 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 39 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 40 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 41 - 600 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 48 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 56 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 57 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 58 - * 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 59 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 61 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 62 - UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 63 - UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 64 - UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 65 - UTF-8 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 66 - /usr/share/gerbera/js/common.js 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 67 - /usr/share/gerbera/js/playlists.js 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 68 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 69 - /usr/share/gerbera/js/import.js 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 70 - builtin 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 71 - 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 73 - true 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 75 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 76 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 86 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 87 - 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 88 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 89 - 0 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 90 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 91 - 43200 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2010] dumpOptions(): BoolOption 92 - false 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2005] dumpOptions(): IntOption 93 - 43200 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:2000] dumpOptions(): Option 94 - 640 2020-05-17 16:24:06 DEBUG: [src/singleton.cc:68] registerSingleton(): registering new singleton... - 1 -> 2 2020-05-17 16:24:06 DEBUG: [src/server.cc:98] run(): start 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: PRAGMA locking_mode = EXCLUSIVE 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): PRAGMA locking_mode = EXCLUSIVE 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: PRAGMA foreign_keys = ON 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): PRAGMA foreign_keys = ON 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: PRAGMA synchronous = 0 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): PRAGMA synchronous = 0 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:169] init(): db_version: 4 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:2173] loadLastID(): LoadedId: 1 2020-05-17 16:24:06 DEBUG: [src/singleton.cc:68] registerSingleton(): registering new singleton... - 2 -> 3 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:2361] doMetadataMigration(): Checking if metadata migration is required 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:2369] doMetadataMigration(): mt_cds_object rows having metadata: 0 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:2376] doMetadataMigration(): mt_metadata rows having metadata: 0 2020-05-17 16:24:06 INFO: About to migrate metadata from mt_cds_object to mt_metadata 2020-05-17 16:24:06 INFO: No data will be removed from mt_cds_object 2020-05-17 16:24:06 INFO: Migrated metadata - object count: 0 2020-05-17 16:24:06 DEBUG: [src/server.cc:121] run(): Initialising libupnp with interface: (null), port: 0 2020-05-17 16:24:06 INFO: Initialized port: 49152 2020-05-17 16:24:06 INFO: Server bound to: 192.168.2.12 2020-05-17 16:24:06 DEBUG: [src/server.cc:150] run(): webroot: /usr/share/gerbera/web 2020-05-17 16:24:06 DEBUG: [src/server.cc:170] run(): Setting virtual dir to: content 2020-05-17 16:24:06 DEBUG: [src/server.cc:454] registerVirtualDirCallbacks(): Setting UpnpVirtualDir GetInfoCallback 2020-05-17 16:24:06 DEBUG: [src/server.cc:476] registerVirtualDirCallbacks(): Setting UpnpVirtualDir OpenCallback 2020-05-17 16:24:06 DEBUG: [src/server.cc:503] registerVirtualDirCallbacks(): Setting UpnpVirtualDir ReadCallback 2020-05-17 16:24:06 DEBUG: [src/server.cc:519] registerVirtualDirCallbacks(): Setting UpnpVirtualDir WriteCallback 2020-05-17 16:24:06 DEBUG: [src/server.cc:531] registerVirtualDirCallbacks(): Setting UpnpVirtualDir SeekCallback 2020-05-17 16:24:06 DEBUG: [src/server.cc:552] registerVirtualDirCallbacks(): Setting UpnpVirtualDir CloseCallback 2020-05-17 16:24:06 DEBUG: [src/server.cc:194] run(): Creating UpnpXMLBuilder 2020-05-17 16:24:06 DEBUG: [src/server.cc:201] run(): Registering with UPnP... 2020-05-17 16:24:06 DEBUG: [src/server.cc:214] run(): Creating ContentDirectoryService 2020-05-17 16:24:06 DEBUG: [src/server.cc:218] run(): Creating ConnectionManagerService 2020-05-17 16:24:06 DEBUG: [src/server.cc:221] run(): Creating MRRegistrarService 2020-05-17 16:24:06 DEBUG: [src/server.cc:226] run(): Sending UPnP Alive advertisements every 870 seconds 2020-05-17 16:24:06 DEBUG: [src/singleton.cc:68] registerSingleton(): registering new singleton... - 3 -> 4 2020-05-17 16:24:06 DEBUG: [src/update_manager.cc:246] staticThreadProc(): starting update thread... thread: -1439703600 2020-05-17 16:24:06 DEBUG: [src/autoscan_inotify.cc:54] AutoscanInotify(): Max watches on the system: 8192 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:1678] updateAutoscanPersistentList(): setting persistent autoscans untouched - scanmode: timed; 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: UPDATE "mt_autoscan" SET "touched"=0 WHERE "persistent"=1 AND "scan_mode"='timed' 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): UPDATE "mt_autoscan" SET "touched"=0 WHERE "persistent"=1 AND "scan_mode"='timed' 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:1689] updateAutoscanPersistentList(): updating/adding persistent autoscans (count: 0) 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: DELETE FROM "mt_autoscan" WHERE "touched"=0 AND "scan_mode"='timed' 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): DELETE FROM "mt_autoscan" WHERE "touched"=0 AND "scan_mode"='timed' 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:1678] updateAutoscanPersistentList(): setting persistent autoscans untouched - scanmode: inotify; 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: UPDATE "mt_autoscan" SET "touched"=0 WHERE "persistent"=1 AND "scan_mode"='inotify' 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): UPDATE "mt_autoscan" SET "touched"=0 WHERE "persistent"=1 AND "scan_mode"='inotify' 2020-05-17 16:24:06 DEBUG: [src/storage/sql_storage.cc:1689] updateAutoscanPersistentList(): updating/adding persistent autoscans (count: 0) 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:251] exec(): Adding query to Queue: DELETE FROM "mt_autoscan" WHERE "touched"=0 AND "scan_mode"='inotify' 2020-05-17 16:24:06 DEBUG: [src/storage/sqlite3/sqlite3_storage.cc:481] run(): DELETE FROM "mt_autoscan" WHERE "touched"=0 AND "scan_mode"='inotify' 2020-05-17 16:24:06 DEBUG: [src/singleton.cc:68] registerSingleton(): registering new singleton... - 4 -> 5 2020-05-17 16:24:06 DEBUG: [src/singleton.cc:68] registerSingleton(): registering new singleton... - 5 -> 6 2020-05-17 16:24:06 DEBUG: [src/timer.cc:41] init(): Starting Timer thread... 2020-05-17 16:24:06 DEBUG: [src/config_manager.cc:1472] writeBookmark(): Writing bookmark file to: /var/lib/gerbera//gerbera.html 2020-05-17 16:24:06 INFO: The Web UI can be reached by following this link: http://192.168.2.12:49152/ 2020-05-17 16:24:06 DEBUG: [src/server.cc:241] run(): end 2020-05-17 16:24:06 DEBUG: [src/timer.cc:54] staticThreadProc(): Started Timer thread. 2020-05-17 16:24:06 DEBUG: [src/timer.cc:102] triggerWait(): triggerWait. - 0 subscriber(s) 2020-05-17 16:24:06 DEBUG: [src/timer.cc:105] triggerWait(): Nothing to do, sleeping... 2020-05-17 16:24:09 DEBUG: [src/server.cc:287] handleUpnpEvent(): start 2020-05-17 16:24:09 DEBUG: [src/server.cc:300] handleUpnpEvent(): UPNP_CONTROL_ACTION_REQUEST 2020-05-17 16:24:09 DEBUG: [src/server.cc:349] routeActionRequest(): start 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:89] processActionRequest(): start 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:52] doIsAuthorized(): start 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:61] doIsAuthorized(): end 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:104] processActionRequest(): end 2020-05-17 16:24:09 DEBUG: [src/action_request.cc:84] update(): ActionRequest::update(): 1</u:IsAuthorizedResponse> 2020-05-17 16:24:09 DEBUG: [src/action_request.cc:95] update(): ActionRequest::update(): converted to iXML, code 0 2020-05-17 16:24:09 DEBUG: [src/server.cc:333] handleUpnpEvent(): returning 0 2020-05-17 16:24:09 DEBUG: [src/server.cc:287] handleUpnpEvent(): start 2020-05-17 16:24:09 DEBUG: [src/server.cc:300] handleUpnpEvent(): UPNP_CONTROL_ACTION_REQUEST 2020-05-17 16:24:09 DEBUG: [src/server.cc:349] routeActionRequest(): start 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:89] processActionRequest(): start 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:52] doIsAuthorized(): start 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:61] doIsAuthorized(): end 2020-05-17 16:24:09 DEBUG: [src/upnp_mrreg.cc:104] processActionRequest(): end 2020-05-17 16:24:09 DEBUG: [src/action_request.cc:84] update(): ActionRequest::update(): 1</u:IsAuthorizedResponse> 2020-05-17 16:24:09 DEBUG: [src/action_request.cc:95] update(): ActionRequest::update(): converted to iXML, code 0 2020-05-17 16:24:09 DEBUG: [src/server.cc:333] handleUpnpEvent(): returning 0

KarlStraussberger commented 4 years ago

What 's your issue? There is no error message or whatever. In your caption you say it's running always. Your text says it doesn't. Maybe you try to get latest gerbera - 1.5.0.

Before running from console you should stop the service. Try to run in gdb and post the backtrace.

fpoto commented 4 years ago

I installed gerbera from ppa:stephenczetty/gerbera-updates.But gerbera can't start.below is debug info.please help.THX

From your log it appears that it started and is working. Try pointing your browser at http://192.168.2.12:49152/ and you should see Gerbera'a User Interface

milanding6 commented 4 years ago

I didn't make that clear before. root@orangepipcplus:~# systemctl status gerbera.service ● gerbera.service - Gerbera Media Server Loaded: loaded (/lib/systemd/system/gerbera.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: resources) since Mon 2020-05-18 09:04:15 CST; 879ms ago Docs: man:gerbera(1) https://gerbera.io/

May 18 09:04:15 orangepipcplus systemd[1]: Failed to start Gerbera Media Server.

fpoto commented 4 years ago

I am using (on Debian) the 1.5.0 version packaged by Marillat at http://deb-multimedia.org Maybe you want to give that one a try?