romanfly
-
Posts
99 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Blogs
Events
Posts posted by romanfly
-
-
Первая ошибка ушла, осталась такая на красном фоне: "Please set SELF_URL_PATH to the correct value detected for your server: http://ххххххххх/tt-rss (you're using: http://192.168.1.1:88/tt-rss)
-
Ставлю снова все с 0 и
после:
create database ttrss;
\q
и : php /opt/share/www/tt-rss/update.php --update-schema force-yes
Вот такой ответ: -sh: php: not found
Все выше до этих команд установлено
- 1
-
20 часов назад, TheBB сказал:
читать "викуську" - https://tt-rss.org/wiki.php
Добрый день. Там совет дается на установку в docker-е. Я так понимаю, что докер на кинетик не установить? Или возможно?
-
Заметил, что при установленном php8, в папке /usr/bin/php - php нет. а в config файле есть такая строчка: define('PHP_EXECUTABLE', '/usr/bin/php'); Где можно найти php8? чтоб поправить ссылку?
-
Здравствуйте, это опять я, и вот по какому делу. Есть кинетик 1011. Решил на него поставить tt-rss.
Поставил по алгоритму на 1 странице nginx, php8, "машку" (ca-certificates php8-fastcgi php8-mod-curl php8-mod-dom php8-mod-hash php8-mod-iconv php8-mod-json php8-mod-mbstring php8-mod-mysqli php8-mod-session mariadb-server mariadb-client-extra php8-mod-mysqli php8-mod-pdo-mysql opkg install mariadb-server mariadb-client-extra php-pdo php8-mod-mysqli php8-mod-pdo-mysql). Все установилось, база создалась, процессы запускаются все. Инсталляция прошла без косяков. Но после того как переходить на созданный сайт, любой браузер пишет ошибка 500. Можно что то сделать?
-
В 09.09.2018 в 11:00, gonsalez сказал:
Вот пример рабочей конфигурации.
Добрый день. А не подскажете как прописать файл конфигурации, что б удаленно расположенное устройство, выходило в инет через 3proxy настроенного в домашнем кинетике? Есть белый IP
-
Все работает отлично. Спасибо большое. Спрошу на всякий случай, а как правильно ему скормить iptv плейлист m3u?
-
Да так и было, а подскажите, как удалить без следов, для последующей переустановки?
-
Добрый день. Создал администратора с новым паролем, после сканирования выполнил команду: /opt/etc/init.d/S58tvheadend clean и перестало пускать в настройки и по новому логину и паролю, и конечно по старому. Как можно исправить. P.S. пароль точно ввожу правильный
-
-
Начал снова.
устанавливаем следующие пакеты
opkg install ca-certificates nginx php7-fastcgi php7-mod-curl php7-mod-dom php7-mod-hash php7-mod-iconv \ php7-mod-json php7-mod-mbstring php7-mod-mysqli php7-mod-session mariadb-server mariadb-client-extra
Но вместо "php7-mod-mysqli", установил "php7-mod-pdo-mysql"
Дальше все как написано делал. Перехожу по ссылке: .168.1.1:88/tt-rss/install/index.php и получаю опять голую страницу, такую же как в постах выше, с полями для ввода данных. Ввожу данные, база данных проходит инициализацию, устанавливается и создается файл config.php.
При переходе на страницу "http://192.168.1.1:88/tt-rss/" получаю голую белую страницу с надписью:
403 Forbidden
nginx/1.12.1
страница: http://192.168.1.1:88/phpinfo.php открывается нормально, Nginx запущен. Роутер перезагружал. Все равно такая лабуда....
Забыл сказать, что надо я так полагаю менять путь до сокета:
Вместо:
echo "mysqli.default_socket = /opt/tmp/mysql.sock" >> /opt/etc/php7/20_mysqli.ini
Надо:
echo "mysqli.default_socket = /opt/tmp/mysql.sock" >> /opt/etc/php7/20_pdo_mysql.ini
Как думаете, куда еще можно копнуть???
-
Добрый день. Приходится снова поднять вопрос...
Прямо на ровном месте перестал исполняться файл cron. Т. е. в журнале роутера эта команда есть, а обновлений лент нет. Решил поменять флешку на больший объем, и заодно пройти полностью установку по новому.
1. Когда дошел до пункта:
задаём (свой) пароль и подключаемся
mysqladmin -u root password "Passw0rd" ... mysql -u root -p
Понял свою ошибку, совершенную ранее: Пароль надо набирать руками, а не копировать.
2. И дальше все устанавливается штатно,
При запуске http://192.168.1.1:88/tt-rss/install/index.php получаю картину:
И опять пресловутое: "PHP support for PDO is required but was not found"
Если не трудно, помогите побороть. Что это за PDO и где его настроить???
Спасибо.
-
С огромной помощью пользователя TheBB удалось установить по его рецептуре данный движок. За что ему огромная благодарность. Банально не было места на флешке для баз данных. Вот и так бывает.
-
Файловая система точно линуксовая, только 2 или 3 сейчас не помню.
Права на tmp:777
Логи:
/opt/bin/mysqld, Version: 5.5.58-MariaDB (Source distribution). started with: Tcp port: 3306 Unix socket: /opt/tmp/mysql.sock Time Id Command Argument /opt/bin/mysqld, Version: 5.5.58-MariaDB (Source distribution). started with: Tcp port: 3306 Unix socket: /opt/tmp/mysql.sock Time Id Command Argument /opt/bin/mysqld, Version: 5.5.58-MariaDB (Source distribution). started with: Tcp port: 3306 Unix socket: /opt/tmp/mysql.sock Time Id Command Argument /opt/bin/mysqld, Version: 5.5.58-MariaDB (Source distribution). started with: Tcp port: 3306 Unix socket: /opt/tmp/mysql.sock Time Id Command Argument /opt/bin/mysqld, Version: 5.5.58-MariaDB (Source distribution). started with: Tcp port: 3306 Unix socket: /opt/tmp/mysql.sock Time Id Command Argument
-
Сделал: echo "192.168.1.1 Keenetic_Giga" >> /etc/hosts
Получил:
# echo "192.168.1.1 Keenetic_Giga" >> /etc/hosts ~ # /opt/etc/init.d/S70mariadbd start ~ # mysqladmin -u root password "Passw0rd" mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/opt/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/opt/tmp/mysql.sock' exists!
-
Отформатировал флешку в чистую.
Установил Entware-3x
Сделал все в точности как у Вас до пункта "задаём (свой) пароль и подключаемся"
# /opt/etc/init.d/S70mariadbd start ~ # mysqladmin -u root password "Passw0rd" mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/opt/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/opt/tmp/mysql.sock' exists!
Вот что я получил на выходе
-
В php.ini - ничего не менял;
php7/20_mysqli.ini
extension=mysqli.so mysqli.default_socket = /opt/tmp/mysql.sock
mysql/my.cnf ничего не менял
Скрытый текст[client-server] port = 3306 socket = /opt/tmp/mysql.sock # https://mariadb.com/kb/en/mariadb/server-system-variables/ [mysqld] user = root pid-file = /opt/var/run/mariadb.pid basedir = /opt lc_messages_dir = /opt/share/mysql lc_messages = en_US ############ Don't put this on the NAND ############# # Figure out where you are going to put the databases # And run mysql_install_db --force datadir = /opt/var/mysql/ ######### This should also not go on the NAND ####### tmpdir = /opt/tmp/ skip-external-locking # this must be overridden, if replication is to be used bind-address = 127.0.0.1 # # * Fine Tuning # max_connections = 25 connect_timeout = 5 wait_timeout = 600 key_buffer_size = 16M max_allowed_packet = 1M table_open_cache = 64 sort_buffer_size = 64K read_buffer_size = 256K read_rnd_buffer_size = 256K net_buffer_length = 2K myisam_sort_buffer_size = 64K thread_cache_size = 8 thread_stack = 128K # Try number of CPU's*2 for thread_concurrency thread_concurrency = 8 # # * Query Cache Configuration # # Cache only tiny result sets, so we can fit more in the query cache. query_cache_limit = 128K query_cache_size = 2M # for more write intensive setups, set to DEMAND or OFF #query_cache_type = DEMAND # # * InnoDB # # Currently only InnoDB storage engine is supported by wsrep default-storage-engine=innodb # to avoid issues with 'bulk mode inserts' using autoinc innodb_autoinc_lock_mode=2 #innodb_data_home_dir = /opt/var/mysql innodb_data_file_path = ibdata1:10M:autoextend # path to redo log files (can be put on separate file system) #innodb_log_group_home_dir = /opt/var/mysql # You can set .._buffer_pool_size up to 50 - 80 % # of RAM but beware of setting memory usage too high #innodb_buffer_pool_size = 16M #innodb_additional_mem_pool_size = 2M # Set .._log_file_size to 25 % of buffer pool size #innodb_log_file_size = 5M #innodb_log_buffer_size = 8M #innodb_flush_log_at_trx_commit = 1 #innodb_lock_wait_timeout = 50 # # * Logging # # Be aware that this log type is a performance killer and that # you can enable the log at runtime! #general_log_file = /opt/var/log/mariadb.log #general_log = 1 # # Error logging goes to syslog due to /opt/etc/mariadb/conf.d/mysqld_safe_syslog.cnf. # # we do want to know about network errors and such log_warnings = 2 # # Enable the slow query log to see queries with especially long duration slow_query_log=1 slow_query_log_file = /opt/var/log/mariadb-slow.log long_query_time = 10 log_slow_rate_limit = 20 log_slow_verbosity = query_plan log-queries-not-using-indexes log_slow_admin_statements # # * Replication # # The following can be used as easy to replay backup logs or for replication. # Replication Master Server (default) # # # Replication Master # # required unique id between 1 and 2^32 - 1 defaults to 1 if # master-host is not set but will not function as a master if omitted server-id = 1 # binary logging is required for replication log_bin = /opt/var/log/mariadb/mysql-bin.log expire_logs_days = 10 max_binlog_size = 100M #binlog_do_db = include_database_name #binlog_ignore_db = include_database_name # # # Replication Slave (comment out master section to use this) # # To configure this host as a replication slave, you can choose between # two methods : # # 1) Use the CHANGE MASTER TO command (fully described in our manual) - # the syntax is: # # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>, # MASTER_USER=<user>, MASTER_PASSWORD=<password> ; # # where you replace <host>, <user>, <password> by quoted strings and # <port> by the master's port number (3306 by default). # # Example: # # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306, # MASTER_USER='joe', MASTER_PASSWORD='secret'; # # OR # # 2) Set the variables below. However, in case you choose this method, then # start replication for the first time (even unsuccessfully, for example # if you mistyped the password in master-password and the slave fails to # connect), the slave will create a master.info file, and any later # change in this file to the variables' values below will be ignored and # overridden by the content of the master.info file, unless you shutdown # the slave server, delete master.info and restart the slaver server. # For that reason, you may want to leave the lines below untouched # (commented) and instead use CHANGE MASTER TO (see above) # # required unique id between 2 and 2^32 - 1 # (and different from the master) # defaults to 2 if master-host is set # but will not function as a slave if omitted #server-id = 2 # # The replication master for this slave - required #master-host = <hostname> # # The username the slave will use for authentication when connecting # to the master - required #master-user = <username> # # The password the slave will authenticate with when connecting to # the master - required #master-password = <password> # # The port the master is listening on. # optional - defaults to 3306 #master-port = <port> # # binary logging - not required for slaves, but recommended #log-bin=mysql-bin # # binary logging format - mixed recommended #binlog_format=mixed [mysqldump] quick max_allowed_packet = 16M [mysql] #no-auto-rehash # faster start of mysql but no tab completition [myisamchk] key_buffer_size = 8M sort_buffer_size = 8M [mysqlhotcopy] interactive-timeout # # * IMPORTANT: Additional settings that can override those from this file! # The files must end with '.cnf', otherwise they'll be ignored. # !includedir /opt/etc/mysql/conf.d/
-
Система Entware-3x. Мне кажется что то при установке базы не то происходит.
-
Сделал все как написано.
Получил во время установки базы:
Скрытый текст~ # mysql_install_db WARNING: The host 'Keenetic_Giga3' could not be looked up with /opt/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MariaDB version. The MariaDB daemon, mysqld, should work normally with the exception that host name resolving will not work. This means that you should use IP addresses instead of hostnames when specifying MariaDB privileges ! Installing MariaDB/MySQL system tables in '/opt/var/mysql/' ... 180205 15:50:40 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release. 180205 15:50:40 [Note] /opt/bin/mysqld (mysqld 5.5.58-MariaDB) starting as process 14588 ... 180205 15:50:40 [ERROR] mysqld: Can't lock aria control file '/opt/var/mysql/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds ^C180205 15:51:11 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/opt/var/mysql/aria_log_control' 180205 15:51:11 [ERROR] Plugin 'Aria' init function returned error. 180205 15:51:11 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed. ERROR: 1017 Can't find file: '/opt/tmp/#sql_38fc_0' (errno: 2) 180205 15:51:11 [ERROR] Aborting 180205 15:51:12 [Note] /opt/bin/mysqld: Shutdown complete ~ # mysqladmin -u root password "Passw0rd" mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' ~ # mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2 Server version: 5.5.58-MariaDB Source distribution Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> create database ttrss; ERROR 1007 (HY000): Can't create database 'ttrss'; database exists MariaDB [(none)]> create database ttrs; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> \u ttrs Database changed MariaDB [ttrs]> source /opt/share/www/tt-rss/schema/ttrss_schema_mysql.sql Query OK, 0 rows affected (0.00 sec) Query OK, 0 rows affected (0.00 sec) ........ Query OK, 0 rows affected (0.09 sec) Query OK, 0 rows affected (0.10 sec) Query OK, 0 rows affected (0.00 sec) MariaDB [ttrs]> \q Bye ~ # /opt/etc/init.d/S70mariadbd restart ~ # /opt/etc/init.d/S79php-fcgi start Starting php-fcgi... already running. ~ # /opt/etc/init.d/S79php-fcgi restart Shutting down php-fcgi... done. Starting php-fcgi... done. ~ # /opt/etc/init.d/S80nginx start nginx: [emerg] bind() to 0.0.0.0:88 failed (125: Address already in use) nginx: [emerg] bind() to 0.0.0.0:88 failed (125: Address already in use) nginx: [emerg] bind() to 0.0.0.0:88 failed (125: Address already in use) nginx: [emerg] bind() to 0.0.0.0:88 failed (125: Address already in use) nginx: [emerg] bind() to 0.0.0.0:88 failed (125: Address already in use) nginx: [emerg] still could not bind() ~ # /opt/etc/init.d/S80nginx restart Nginx restarted. В итоге получаю следующее: и вот это : Checking database Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/opt/var/run/mysqld.sock' (146) in /opt/share/www/tt-rss/install/index.php on line 116 Unable to connect to database using specified parameters. База у меня обозвана "ttrs"
-
-
-
8 часов назад, McMCC сказал:
Сделал исправления с отображением параметров сигнала для последней версии minisatip, теперь вроде все корректно отображается...
STR и SNR показывает правильно. Трафик считает. А из хотелок: можно в статистику добавить время работы? Ну чтоб видно было, что за такое то время потрачено столько то трафика?
-
2 часа назад, McMCC сказал:
@romanfly, а зачем вы его ставили? В этой версии используется новый API, может не работать с некоторыми нашими драйверами, для MyGica работает, для Astrometa нет. Я предложил установить это пакет с целью поиска проблемы залипания клиентов, всякие параметры SNR как бы не важны...
Ну думал просто можно обновить, и кстати все работает и на Astrometa. Показывает нормально.
-
Rss читалка TinyTinyRss на Keenetic
in Каталог готовых решений Opkg
Posted
Знаете, я вписал внешний белый адрес и заработало... Конечно это видимо не правильно, но работает... Вам огромное спасибо....