Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
program Gerbera
#1
0
Witajcie, jestem absolutnie zielonym uzytkownikiem linuxowym i moja wiedza sprowadza sie w zasadzie tylko do obsługi podstawowych programów. chcę zainstalować oprogramowanie do udostępniania plików z komputera na tv, próbowałem kilku programów, ale nigdy nie udało mi się tak dogadać z programami- np rygel- , żeby udostępnić stabilnie pliki z 2 dysku z kompa. zainstalowałem ostatnio program gerbera i przy uruchomieniu- przeglądarka wypisuje mi komunikat - Gerbera's UI is disabled. If you did not expect this, please check your configuration.
moze mi ktoś lopatologicznie krok po kroku pomóc?
Odpowiedz
#2
0
A co to za TV?
Jak instalowałeś program?
Pokaż zawartość pliku /etc/gerbera/config.xml
Odpowiedz
#3
0
(19-03-2019, 10:04)dedito napisał(a): A co to za TV?
Jak instalowałeś program?
Pokaż zawartość pliku /etc/gerbera/config.xml

Tv to samsung smart z serii 5600.

Instalacje zrobiłem zgodnie z zaleceniami ze strony gerbera http://docs.gerbera.io/en/latest/install...buntu-mint.
Później wykonałem kroki zgodnie z instrukcją pierwszego uruchomienia http://docs.gerbera.io/en/latest/config-...rateconfig, zaciąłem się na informacjach zawartych w NOTE... efekt jest taki,że nie widzę nigdzie pliku /etc/gerbera/config.xml
Kod:
air@air-To-be-filled-by-O-E-M:~$ gerbera --create-config
gerbera: unrecognized option '--create-config'

Gerbera UPnP Server version 1.1.0 - http://gerbera.io/

===============================================================================
Gerbera is free software, covered by the GNU General Public License version 2

Copyright 2016-2017 Gerbera Contributors.
Gerbera is based on MediaTomb: Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
===============================================================================
Usage: gerbera [options]
                        
Supported options:
    --ip or -i         ip address to bind to
    --interface or -e  network interface to bind to
    --port or -p       server port (the SDK only permits values >= 49152)
    --config or -c     configuration file to use
    --home or -m       define the home directory
    --cfgdir or -f     name of the directory that is holding the configuration
    --add or -a        add the given file/directory
    --logfile or -l    log to specified file
    --debug or -D      enable debug output
    --compile-info     print configuration summary and exit
    --version          print version information and exit
    --help or -h       this help message

For more information visit http://gerbera.io/

air@air-To-be-filled-by-O-E-M:~$ gerbera --create-config | sudo tee /etc/gerbera/config.xml
gerbera: unrecognized option '--create-config'
[sudo] hasło użytkownika air:         

Gerbera UPnP Server version 1.1.0 - http://gerbera.io/

===============================================================================
Gerbera is free software, covered by the GNU General Public License version 2

Copyright 2016-2017 Gerbera Contributors.
Gerbera is based on MediaTomb: Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
===============================================================================
Usage: gerbera [options]
                        
Supported options:
    --ip or -i         ip address to bind to
    --interface or -e  network interface to bind to
    --port or -p       server port (the SDK only permits values >= 49152)
    --config or -c     configuration file to use
    --home or -m       define the home directory
    --cfgdir or -f     name of the directory that is holding the configuration
    --add or -a        add the given file/directory
    --logfile or -l    log to specified file
    --debug or -D      enable debug output
    --compile-info     print configuration summary and exit
    --version          print version information and exit
    --help or -h       this help message

For more information visit http://gerbera.io/

air@air-To-be-filled-by-O-E-M:~$ gerbera -c /etc/gerbera/config.xml
2019-03-19 21:04:43    INFO: Gerbera UPnP Server version 1.1.0 - http://gerbera.io/
2019-03-19 21:04:43    INFO: ===============================================================================
2019-03-19 21:04:43    INFO: Gerbera is free software, covered by the GNU General Public License version 2
2019-03-19 21:04:43    INFO: Copyright 2016-2017 Gerbera Contributors.
2019-03-19 21:04:43    INFO: Gerbera is based on MediaTomb: Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
2019-03-19 21:04:43    INFO: ===============================================================================
2019-03-19 21:04:43    INFO: Loading configuration from: /etc/gerbera/config.xml
2019-03-19 21:04:43   ERROR: Error parsing config file: /etc/gerbera/config.xml line 2:
syntax error
air@air-To-be-filled-by-O-E-M:~$ etc/gerbera/config.xml
bash: etc/gerbera/config.xml: Nie ma takiego pliku ani katalogu
Odpowiedz
#4
0
Co do pliku to źle go szukasz, poniżej komenda drukująca zawartość na ekran
Kod:
cat /etc/gerbera/config.xml

Co do TV, zainteresuj się projektem samygo.

Co do posta, staraj się formatować tekst, używaj znaczników kodu i cytowania.
Odpowiedz
#5
0
(20-03-2019, 08:49)dedito napisał(a): Co do pliku to źle go szukasz, poniżej komenda drukująca zawartość na ekran
Kod:
cat /etc/gerbera/config.xml

Co do TV, zainteresuj się projektem samygo.

Co do posta, staraj się formatować tekst, używaj znaczników kodu i cytowania.

wyrzuciło mi takie coś po wpisaniu tej komendy w terminal:

Kod:
~$ cat /etc/gerbera/config.xml

Gerbera UPnP Server version 1.1.0 - http://gerbera.io/

===============================================================================
Gerbera is free software, covered by the GNU General Public License version 2

Copyright 2016-2017 Gerbera Contributors.
Gerbera is based on MediaTomb: Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
===============================================================================
Usage: gerbera [options]
                       
Supported options:
   --ip or -i         ip address to bind to
   --interface or -e  network interface to bind to
   --port or -p       server port (the SDK only permits values >= 49152)
   --config or -c     configuration file to use
   --home or -m       define the home directory
   --cfgdir or -f     name of the directory that is holding the configuration
   --add or -a        add the given file/directory
   --logfile or -l    log to specified file
   --debug or -D      enable debug output
   --compile-info     print configuration summary and exit
   --version          print version information and exit
   --help or -h       this help message

For more information visit http://gerbera.io/
Odpowiedz
#6
0
Kod:
cat /var/log/gerbera/gerbera.log
Odpowiedz
#7
0
Kod:
air@air-To-be-filled-by-O-E-M:~$ cat /var/log/gerbera/gerbera.log
cat: /var/log/gerbera/gerbera.log: Nie ma takiego pliku ani katalogu
air@air-To-be-filled-by-O-E-M:~$
Odpowiedz
#8
1
Better response on post RE: program GerberaMam wrażenie, że coś tam sobie sknociłeś przy instalacji i najlepiej jakbyś przeinstalował program przez:
Kod:
apt purge gerbera
Kod:
apt install gerbera
Odpowiedz
#9
0
coś mi jednak nie wychodzi... zrobiłem jak wyżej i przy próbie startu gerbera wyskakuje mi komunikat na stronie o treści Gerbera's UI is disabled. If you did not expect this, please check your configuration. podobne cyrki mi wywalały przy instalacji mini dlna i innych programach, instalacja przebiegała do końca a efekt jak wyżej. jedyny program, który mi cokolwiek udostępnia na tv to Rygel chociaż tu też mam dziwacwto- mogę dodać do udostępnienia katalogi znajdujące się w moim katalogu domowym i tu jest ok, natomiast katalogi z drugiego dysku wewnętrznego to już loteria... przeważnie ze wskazanych do udostępnienia 5 czy 6 katalogów- tv widzi przeważnie tylko 1 katalog...
po 4 dniach walki udało mi się ... okazało się, że plik config.xml znajduje się u mnie w kilku miejscach... trochę na pałę ale pozmieniałem  tak jak opisano na stronie
https://www.tecmint.com/gerbera-stream-m...e-network/ czyli w ui zmieniłem na YES jak na zdjęciu. jedyny kłopot jaki mi pozostał, to dodanie  do udostępnienia katalogów z urządzenia wymiennego a ściślej drugiego dysku zamontowanego w kompie

[Obrazek: enable-gerbera-ui-from-config-file.png]
Odpowiedz


Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości