YunoHost-Apps / flask_ynh

Flask template for YunoHost
6 stars 9 forks source link

Updated to yunohost 3.0.0 #3

Closed a0kami closed 5 years ago

a0kami commented 5 years ago

1

Confirmed it did.

root@home:~# yunohost app install https://github.com/YunoHost-Apps/flask_ynh
Short name used by the system to identify your app: flask
Display name (used in SSO portal): Flask-Root
Available domains:
- aokami.codelib.re
Choose a domain for the flask app (default: aokami.codelib.re): aokami.codelib.re
Choose a path for the flask app (default: /flask): /
Make the app public? [0 | 1] (default: 1): 0
Warning: E: Packages need to be removed but remove is disabled.
Warning: Unable to install dependencies
Warning: dropdb: database removal failed: ERROR:  database "flask" does not exist
Warning: dropuser: removal of role "flask" failed: ERROR:  role "flask" does not exist
Warning: /etc/nginx/conf.d/aokami.codelib.re.d/flask.conf wasn't deleted because it doesn't exist.
Warning: Failed to stop flask.service: Unit flask.service not loaded.
Warning: flask: no process found
Warning: Unknown service 'flask'
Warning: /etc/systemd/system/flask.service wasn't deleted because it doesn't exist.
Warning: /var/www/flask wasn't deleted because it doesn't exist.
Warning: The user flask was not found
Success! The SSOwat configuration has been generated
Error: Installation failed

This PR should do the trick.

I don't quite understand the purpose of postgresql though, I think I'll come on the XMPP chat to discuss some apps packaging and I'll try to do some todo tasks. Thank you for your work, a flask template might come handy for what I need. :)

alexAubin commented 5 years ago

Hellow,

thank you for the PR !

You're right that so far postgresql isn't used by this app (I was planning to integrate it into the template but got caught into other stuff and just stopped working on this app for now :s )

Feel free to provide feedback / make other PR :stuck_out_tongue_closed_eyes: