Dlaczego ta wiadomość jest w Spamie? Bo jest podobna do wiadomości wykrytych przez nasze filtry spamu.
Automatyczna instalacja supla (server,cloud,dev)
Dodałem zmiany. Jeśli chodzi o reset hasła to u mnie na gmailu rzeczywiście trafiają takie maile do spamu. Wcześniej sprawdziłem, że wychodzą z systemu.
Witam... próbuje zainstalować serwer i utknąłem:
.. po poleceniu make - dostaje takie info o błędzie:cd /usr/src
git clone https://github.com/SUPLA/supla-core
cd supla-core/supla-server/Release
nano lub vi makefile
linia 47
za g++ -L/usr/include/mysql
dodaj -L/usr/src/openssl
nano lib vi src/subdir.mk
linia 99
za g++ -D__OPEN_SSL=1 -I/usr/include/mysql
dodaj -I/usr/src/openssl
make clean
make
Proszę o pomocBuilding file: ../src/supla-socket.c
Invoking: Cross GCC Compiler
gcc -I/usr/src/openssl/include -O3 -Wall -c -fmessage-length=0 -fstack-protector-all -MMD -MP -MF"src/supla-socket.d" -MT"src/supla-socket.d" -o "src/supla-socket.o" "../src/supla-socket.c"
../src/supla-socket.c:42:26: fatal error: openssl/ssl.h: No such file or directory
#include <openssl/ssl.h>
^
compilation terminated.
src/subdir.mk:107: recipe for target 'src/supla-socket.o' failed
make: *** [src/supla-socket.o] Error 1
Pogodynka >>
Kod: Zaznacz cały
cd /usr/src
sudo mkdir openssl
sudo wget https://www.openssl.org/source/openssl-1.0.1t.tar.gz
sudo tar zxvf openssl-1.0.1t.tar.gz
cd openssl-1.0.1t
sudo ./config --prefix=/usr/src/openssl shared
*edit Makefile and remove no-ssl2 flags
sudo make depend
sudo make install
sudo cp /usr/src/openssl/lib/*.so /usr/lib/supla-server/
sudo rm -rf cp /usr/src/openssl
-
- Posty: 18
- Rejestracja: pt cze 16, 2017 1:48 am
Witam... próbuje zainstalować serwer i utknąłem:
TASK [supla : Update MySQL root password for all root accounts] ****************
failed: [localhost] (item=127.0.0.1) => {"failed": true, "item": "127.0.0.1", "msg": "unable to connect to database, check login_user and login_password are correct or /home/osboxes/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [localhost] (item=::1) => {"failed": true, "item": "::1", "msg": "unable to connect to database, check login_user and login_password are correct or /home/osboxes/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [localhost] (item=localhost) => {"failed": true, "item": "localhost", "msg": "unable to connect to database, check login_user and login_password are correct or /home/osboxes/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
RUNNING HANDLER [supla : restart supla-server] *********************************
to retry, use: --limit @/home/osboxes/ansible/playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=16 changed=14 unreachable=0 failed=1
TASK [supla : Update MySQL root password for all root accounts] ****************
failed: [localhost] (item=127.0.0.1) => {"failed": true, "item": "127.0.0.1", "msg": "unable to connect to database, check login_user and login_password are correct or /home/osboxes/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [localhost] (item=::1) => {"failed": true, "item": "::1", "msg": "unable to connect to database, check login_user and login_password are correct or /home/osboxes/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [localhost] (item=localhost) => {"failed": true, "item": "localhost", "msg": "unable to connect to database, check login_user and login_password are correct or /home/osboxes/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
RUNNING HANDLER [supla : restart supla-server] *********************************
to retry, use: --limit @/home/osboxes/ansible/playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=16 changed=14 unreachable=0 failed=1
-
- Posty: 18
- Rejestracja: pt cze 16, 2017 1:48 am
my problem has been solved thanks
witam
usiłuje zainstalować server na ubuntu 16 i po instalacji mam taki problem, że przy próbie połączenia na adres servera i dodaniu wyjątku do certyfikatu mam pustą stronę a w logu apache:
próbowałem dodać
do pliku playbook.yml ale błąd nie znika.
podczas uruchamiania skryptu mam też takie błędy (nie wiem czy mogą mieć wpływ na działanie serwera?)
usiłuje zainstalować server na ubuntu 16 i po instalacji mam taki problem, że przy próbie połączenia na adres servera i dodaniu wyjątku do certyfikatu mam pustą stronę a w logu apache:
Kod: Zaznacz cały
[Sun Aug 20 18:35:40.760865 2017] [:error] [pid 26135] [client 192.168.1.2:56476] PHP Fatal error: Uncaught Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException: You have requested a non-existent parameter "use_webpack_dev_server". in /home/supla/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php:100\nStack trace:\n#0 /home/supla/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ParameterBag/EnvPlaceholderParameterBag.php(56): Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag->get('use_webpack_dev...')\n#1 /home/supla/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(146): Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag->get('use_webpack_dev...')\n#2 /home/supla/www/app/AppKernel.php(50): Symfony\\Component\\DependencyInjection\\Container->getParameter('use_webpack_dev...')\n#3 [internal function]: AppKernel->{closure}(Object(Symfony\\Component\\DependencyInjection\\ContainerBuilder))\n#4 /home/supla/www/vendor/symfony/symfony/src/Symfony/Component/Depend in /home/supla/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php on line 100
Kod: Zaznacz cały
use_webpack_dev_server = false
podczas uruchamiania skryptu mam też takie błędy (nie wiem czy mogą mieć wpływ na działanie serwera?)
Kod: Zaznacz cały
TASK [supla : Check for recaptcha] *********************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["grep", "-F", "@Recaptcha\\IsTrue", "/home/supla/www/src/AppBundle/Form/Model/Registration.php"], "delta": "0:00:00.002841", "end": "2017-08-20 18:32:02.654364", "failed": true, "rc": 2, "start": "2017-08-20 18:32:02.651523", "stderr": "grep: /home/supla/www/src/AppBundle/Form/Model/Registration.php: No such file or directory", "stderr_lines": ["grep: /home/supla/www/src/AppBundle/Form/Model/Registration.php: No such file or directory"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [supla : Disable recaptcha] ***********************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Path /home/supla/www/src/AppBundle/Form/Model/Registration.php does not exist !", "rc": 257}
Instalujesz od zera czy aktualizujesz? Brak parametru sugeruje mi że aktualizujesz, bo jakbyś stawiał od zera v2.0 to ten parametr powinien tam być.
Musisz w app/config/parameters.yml dodać
I potem wyczyścić cache, najlepiej bezkompromisowo:
Jeśli chodzi o captchę - wyłączałeś ją czy podawałeś swoją konfigurację w parametrach?
Musisz w app/config/parameters.yml dodać
Kod: Zaznacz cały
use_webpack_dev_server: false
Kod: Zaznacz cały
rm -fr var/cache/prod
próbowałem zainstalować od zera ale póki co odpuściłem, uruchomiłem wszystko na malince i pewnie nieprędko wróce to tematu ze względu na mniejsze zużycie prądu i mnogość możliwości w raspberry. w wolnej chwili spróbuje znowu pokombinować z ubuntu. dzięki za odpowiedź.
Witam
podczas instalacji mam taki błąd:
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["mv", "/home/supla/src/supla-core/supla-server/Release/supla-server", "/home/supla/bin"], "delta": "0:00:00.002330", "end": "2017-09-14 12:39:08.903094", "failed": true, "rc": 1, "start": "2017-09-14 12:39:08.900764", "stderr": "mv: nie można wykonać stat na '/home/supla/src/supla-core/supla-server/Release/supla-server': Nie ma takiego pliku ani katalogu", "stderr_lines": ["mv: nie można wykonać stat na '/home/supla/src/supla-core/supla-server/Release/supla-server': Nie ma takiego pliku ani katalogu"], "stdout": "", "stdout_lines": []}
podczas instalacji mam taki błąd:
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["mv", "/home/supla/src/supla-core/supla-server/Release/supla-server", "/home/supla/bin"], "delta": "0:00:00.002330", "end": "2017-09-14 12:39:08.903094", "failed": true, "rc": 1, "start": "2017-09-14 12:39:08.900764", "stderr": "mv: nie można wykonać stat na '/home/supla/src/supla-core/supla-server/Release/supla-server': Nie ma takiego pliku ani katalogu", "stderr_lines": ["mv: nie można wykonać stat na '/home/supla/src/supla-core/supla-server/Release/supla-server': Nie ma takiego pliku ani katalogu"], "stdout": "", "stdout_lines": []}