Command Line Usage¶
Show Version¶
miniflux -version
2.0.0
Show Build Information¶
miniflux -info
Version: 2.0.0
Build Date: 2017-11-20T22:45:00
Go Version: go1.9
Enable Debug Mode¶
miniflux -debug
[2018-02-05T02:38:32] [INFO] Debug mode enabled
[2018-02-05T02:38:32] [INFO] Starting Miniflux...
Run Database Migrations¶
export DATABASE_URL=replace_me
miniflux -migrate
Current schema version: 0
Latest schema version: 12
Migrating to version: 1
Migrating to version: 2
Migrating to version: 3
Migrating to version: 4
Migrating to version: 5
Migrating to version: 6
Migrating to version: 7
Migrating to version: 8
Migrating to version: 9
Migrating to version: 10
Migrating to version: 11
Migrating to version: 12
When you run the migrations, make sure that all Miniflux processes are stopped.
Creating extensions requires SUPERUSER
privileges.
Several solutions are available:
- Give
SUPERUSER
privileges to miniflux user only during the schema migration:
ALTER USER miniflux WITH SUPERUSER;
-- Run the migrations (miniflux -migrate)
ALTER USER miniflux WITH NOSUPERUSER;
- You could create the hstore extension as a postgres user with
SUPERUSER
privileges before to run the migrations.
sudo -u postgres psql $MINIFLUX_DATABASE
> CREATE EXTENSION hstore;
Warning
Password that contains special characters like ^
might be rejected since Miniflux 2.0.3.
Golang v1.10 is now validating the password and will return this error: net/url: invalid userinfo
.
To avoid this issue, do not use the URL format for DATABASE_URL
or make sure the password is URL encoded.
Create Admin User¶
miniflux -create-admin
Enter Username: root
Enter Password:
Reset User Password¶
miniflux -reset-password
Enter Username: myusername
Enter Password: ****
Flush All Sessions¶
Flushing all sessions disconnect all users.
miniflux -flush-sessions
Flushing all sessions (disconnect users)
Reset All Feed Errors¶
Reset error counters and clear error messages for all feeds.
miniflux -reset-feed-errors