-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreshRSS 1.15.0 #84
Comments
FYI, we will have a quick fix 1.15.1 out shortly (today or tomorrow) FreshRSS/FreshRSS#2633 |
@Alkarex : I did not have the time to open an issue but I couldn't install the 1.15.0. Sorry, I am not at home to give you the exact error message. Maybe this evening. |
I can reproduce the following, if you do not have write access to $ sudo touch /var/lib/docker/volumes/freshrss-data/_data/users/db.sqlite
$ sudo chmod a-rw /var/lib/docker/volumes/freshrss-data/_data/users/db.sqlite
$ sudo docker exec -it --user www-data freshrss_dev ./cli/do-install.php --default_user freshrss --db-type mysql --db-host mariadb --db-user freshrss --db-password freshrss --db-base freshrss
FreshRSS install…
PHP Fatal error: Uncaught Minz_PDOConnectionException: Access to database is denied for `` (`sqlite:/var/www/FreshRSS/data/users//db.sqlite`) in /var/www/FreshRSS/lib/Minz/ModelPdo.php:91
Stack trace:
#0 /var/www/FreshRSS/app/Models/Factory.php(69): Minz_ModelPdo->__construct(false)
#1 /var/www/FreshRSS/lib/lib_install.php(92): FreshRSS_Factory::createDatabaseDAO()
#2 /var/www/FreshRSS/cli/do-install.php(85): checkDb()
#3 {main}
thrown in /var/www/FreshRSS/lib/Minz/ModelPdo.php on line 91 Indeed, there should be no need to touch |
Hum, there may be a bigger problem. Looking into it |
The script is executed as root, there should not be permissions problem (but I tried to add the correct ownership).
So, even if we use mysql, we need sqlite ? Edit : |
@plopoyop Adding SQLite would be a good idea as we have features, which depend on it in any case (e.g. export/import SQLite files). |
@plopoyop In your tests, the MySQL database is not created, right? |
The mysql database is created just before, so, it already exists |
It is working for me now, I'll wait for the 1.15.1 before updating the package. |
Several bugs prevented the auto-creation of the database in Web and CLI installs. Fix YunoHost-Apps/freshrss_ynh#84 (comment)
@plopoyop We had a regression preventing the auto-creation of databases (no problem if the database was already created in advance). This should be fixed in FreshRSS/FreshRSS#2635 |
temp edit : my test is invalid wrong sources used.... When I don't add the sqlite extension, I have the same error message. |
Thanks for the test @plopoyop |
In any case it is good to add the SQLite extension, but I am still interested in a test without it and with the same setup than generated the original error you observed |
Sorry, as my edit said, my test was invalid. |
Excellent, thanks @plopoyop 👍 |
* Fix database autocreate at install Several bugs prevented the auto-creation of the database in Web and CLI installs. Fix YunoHost-Apps/freshrss_ynh#84 (comment) * initDb #2635 (comment)
P.S. : Pour la liste des paquets Debian, la liste la plus maintenue à jour est https://github.com/FreshRSS/FreshRSS/blob/dev/Docker/Dockerfile |
P.P.S : What is missing in order to have an official YunoHost package? |
I update the depedencies list. |
That looks reasonable, and please let us know @plopoyop if anything can be done on FreshRSS side to ease the packaging process |
1.15.2 coming soon (one more regression, hopefully the last...) https://github.com/FreshRSS/FreshRSS/milestones/1.15.2 |
@plopoyop FreshRSS 1.15.2 released, with hopefully the last regressions closed https://github.com/FreshRSS/FreshRSS/releases/tag/1.15.2 |
* Fix database autocreate at install Several bugs prevented the auto-creation of the database in Web and CLI installs. Fix YunoHost-Apps/freshrss_ynh#84 (comment) * initDb FreshRSS#2635 (comment)
FreshRSS 1.15.0 was released on Oct 31, 2019 https://github.com/FreshRSS/FreshRSS/releases/tag/1.15.0 Is it possible to have an update for this package ?
The text was updated successfully, but these errors were encountered: