Comments (5)
Until a better solution is found, you could give the superuser permission temporarily, run the migrations and drop the privilege after.
from v2.
I've done the migration with user postgres, then changed the database variable to my Miniflux user, but that failed. Will try it with my Miniflux user.
from v2.
A simple workaround is to run CREATE EXTENSION hstore;
as the postgres superuser on the freshly created miniflux database. With the extension already present, running the migrations should work as a normal user without additional privileges.
from v2.
Ok, thank you. This will work:
sudo -u postgres psql <<END
CREATE USER miniflux_user WITH PASSWORD 'miniflux_password';
CREATE DATABASE miniflux_db WITH OWNER miniflux_user TEMPLATE template0 ENCODING 'UTF8';
END
sudo -u postgres psql -d miniflux_db -c 'create extension hstore;'
from v2.
Another workaround:
ALTER USER miniflux WITH SUPERUSER;
- Start
miniflux -migrate
ALTER USER miniflux WITH NOSUPERUSER;
from v2.
Related Issues (20)
- Miniflux's DB consuming a lot of RAM
- Don't remove referer policy from img tag
- Allow to call remote endpoint using "command line curl"
- Escaped question marks in the replace function match between characters HOT 2
- Add "group by feed" option to the Unread page
- rewrite rules behaviour
- Add arm64 rpm package
- www.reddit.com or old.reddit.com donβt work HOT 16
- Add a configuration option to set a cap for total items per user
- Add separate optional env vars for database connection HOT 2
- POLLING_FREQUENCY and CLEANUP_REMOVE_SESSIONS_DAYS environment variables have no effect HOT 3
- Integration does not work with the latest version of RSS-Bridge
- Uber Engineering Blog Feed HTTP status code: 406
- Save to Read-later services by adding to favorites
- Unable to fetch github commits feed HOT 6
- Expose entries as an rss/atom feed
- Could miniflux add support for sqlite? HOT 1
- A way to automatically show all the items when viewing a source or a category
- Add Readeck integration HOT 1
- Adding an excerpt field in the webapp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2.