altlab / liquid-feedback-docker Goto Github PK
View Code? Open in Web Editor NEWDockerfile for Liquid Feedback
License: GNU Affero General Public License v3.0
Dockerfile for Liquid Feedback
License: GNU Affero General Public License v3.0
Thank you very much for your work!
This is just great!
I just build an image and get this on startup:
Starting PostgreSQL 9.4 database server: main.
Starting web server: lighttpd.
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> Event:send_notifications_loop()
>
(error object is not a string)
and on accessing the webpage:
Database error of class SyntaxErrorOrAccessRuleViolation occured:
permission denied for relation session
Stack trace follows:
[C]: in function 'escalate'
../lib/mondelefant.lua:1180: in function 'save'
/opt/lf/frontend/model/session.lua:24: in function 'new'
/opt/lf/frontend/app/main/_filter/20_session.lua:5: in function 'func'
../env/execute/file_path.lua:24: in function 'file_path'
../env/execute/_add_filters_by_path.lua:17: in function 'wrapper_func'
../env/execute/wrapped.lua:21: in function <../env/execute/wrapped.lua:11>
(tail call): ?
(tail call): ?
../env/execute/filtered_view.lua:28: in function 'filtered_view'
webmcp.lua:382: in function <webmcp.lua:257>
[C]: in function 'xpcall'
webmcp.lua:256: in main chunk
[C]: in function 'pcall'
/opt/lf/webmcp/cgi-bin/webmcp-wrapper.lua:7: in main chunk
[C]: ?
It seems to be a permission problem and in your TODO file you first point is:
fix db table permissions issue
Also:
I couldnt find any log files... are there somewhere?
Currently waiting for Frontend v4 to be released, leaving this issue as a reminder.
root@j314465:~/liquid-feedback-docker# docker run -i -t e328d9cff81d
[ ok ] Starting PostgreSQL 9.4 database server: main.
No directory, logging in with HOME=/
2017-07-18 13:02:11 UTC: Starting moonbridge server
2017-07-18 13:02:11 UTC: Loading "/opt/lf/webmcp/bin/mcp.lua"
No directory, logging in with HOME=/
No directory, logging in with HOME=/
2017-07-18 13:02:11 UTC: Creating pool
2017-07-18 13:02:11 UTC: Adding TCP listener on interface "0.0.0.0", port 8080
2017-07-18 13:02:11 UTC: Pool #1 created
2017-07-18 13:02:11 UTC: Creating pool
2017-07-18 13:02:11 UTC: Adding interval listener "send_pending_notifications"
2017-07-18 13:02:11 UTC: Pool #2 created
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
No directory, logging in with HOME=/
Currently the resulting image with Debian Buster is around 640mb.
Some ideas to help trim the image size:
This will make it easier to debug and upgrade each component individually, and eventually allow to run these images in production settings. Initial plan is to split into backend and frontend, and to base of available official images (e.g. postgresq).
An external postgresql database would allow managing the data separately, have it running in a volume outside docker, have backups ... You should consider allowing docker linking to a postgresql database.
Over the lifetime of this project there have been several fixes and enhancements made by downstream forks that might be worthwhile to pull into this repository.
Here's how to help out:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.