[ ] I’m using docker compose setup, with modifications (modified .yml files, third party plugins/themes, etc.) - if so, describe your modifications in your post. Before reporting, see if your issue can be reproduced on the unmodified setup.
[ ] I’m not using docker on my primary instance, but my issue can be reproduced on the aforementioned docker setup and/or official demo.
I am using Ubuntu repos installation on Ubuntu Server 22.04 Apache2
Platform (i.e. Linux distro, Docker, PHP, PostgreSQL, etc) versions: Ubuntu Server 22.04, Apache 2, php7.4
My main user is not accessbile anymore after server migration.
I have migrated an existing tt-rss installation from an Ubuntu 18.04 to a new 22.04 installation.
Did a fresh install based on Ubunutu repos and imported the MySQL database backed-up before to MariDB.
All went very well and smooth. Database was recreated, and backup imported. Privileges have been granted to user ‘tt-rss’. SQL-scheme was well adjusted.
mysql --user tt-rss --password= ttrss < /usr/share/tt-rss/schema/ttrss_schema_mysql.sql
tt-rss runs smoothly and is accessible via the webinterface.
I can log-in with standard “admin” account and everything seems to be fully functional.
Except … the user “cve” that I was using before and all its data seem to be there anymore.
Cannot login as “cve”, and don’t see user “cve” in the users list when login in as “admin”.
Recreating user “cve” did not provide access.
Any suggestions on how I might be able to access the data? Would be happy about every hint I could get. (even provided I am using an unsupported version)
Thank you Fox.
Yes, sure I have … several actually
OK, I realized that I accidentally reset’ed the db by replaying the standard schema. Shouldn’t do this stuff too late in the evening. My fault sorry!
Kindly forgive me if this might be a totally stupid question, but what would be the best approach for me …
to do the schema format before replaying the backup?
create blank db
mysql --user tt-rss --password= ttrss < /usr/share/tt-rss/schema/ttrss_schema_mysql.sql
replay backup
do the “update-schema” (only) after replaying the backup?
create blank db
replay backup
sudo -u www-data php /usr/share/tt-rss/www/update.php --update-schema
(as far as I remember this might have given me a error message before, but will check)
restart and check services
systemctl restart mysql.service && systemctl status mysql.service
systemctl start tt-rss.service && systemctl status tt-rss.service
systemctl restart apache2.service && systemctl status apache2.service
update schema as suggested by fox
via loggin in as “admin” and fllowing the guidance for an update required (in my case)
where this should do the same: sudo -u www-data php /usr/share/tt-rss/www/update.php --update-schema