elrondo46 / davical-docker-standalone Goto Github PK
View Code? Open in Web Editor NEWStandalone davical docker container
License: GNU General Public License v3.0
Standalone davical docker container
License: GNU General Public License v3.0
I'm submitting a ...
Do you want to request a feature or report a bug?
Report a bug
The latest pushed tag of the docker image does not start anymore. I guess the problem is that the shebang in docker-entrypoint.sh is now on line 2 preceded by an empty line. Removing the empty line makes it start again.
Service container davical failed.
/usr/bin/docker logs --details fb6b8cd40b0c504c0079032095f01a3945fe62bb26ea3ccebb8979378c7aab3a
exec /sbin/docker-entrypoint.sh: exec format error
Just try to start a container, it won't work.
I'm submitting a ...
Do you want to request a feature or report a bug?
bug
Multiple errors related to davical_dba during startup
role "davical_dba" is not permitted to log in
The container is unable to initialize or update the davical database when the davical_dba user is used.
but works with the postgres user. Basically, all lines with davical_dba from docker-entrypoint.sh failed.
You need to add the following lines to docker-entrypoint.sh to make it work
PGPASSWORD="$PGSQL_ROOT_PASS" /usr/bin/psql -qX -U postgres -h "$DBHOST" -c 'ALTER ROLE davical_dba LOGIN;'
PGPASSWORD="$PGSQL_ROOT_PASS" /usr/bin/psql -qX -U postgres -h "$DBHOST" -c 'ALTER ROLE davical_app LOGIN;'
Initialize or update the davical database properly.
N/A
Please tell us about your environment:
Hi there,
I had to create a new container from scratch and imported the old database with pg_restore. Now I get the following error when I try to add or change a calendar item:
6942ae863517 2023-08-25 19:28:09.483 UTC [87] ERROR: column "dtstart_orig" of relation "calendar_item" does not exist at character 90
6942ae863517 2023-08-25 19:28:09.483 UTC [87] STATEMENT: INSERT INTO calendar_item (user_no, dav_name, dav_id, dav_etag, uid, dtstamp,
6942ae863517 dtstart, dtstart_orig, dtend, dtend_orig, summary, location, class, transp,
6942ae863517 description, rrule, tz_id, last_modified, url, priority, created, due,
6942ae863517 percent_complete, status, collection_id, first_instance_start,
6942ae863517 last_instance_end )
6942ae863517 VALUES ( 1002, '/holger/6D38C9C6-002E-4042-A448-E5C449FEB7E9/10640e17-ceca-499a-9ea1-de819b3712a3.ics', 5969, 'a893e4468f5410e053e76a9f7205c817', '10640e17-ceca-499a-9ea1-de819b3712a3', '20230825T192809Z', '20230825T220000',
6942ae863517 '20230825T220000', '20230825T230000', '20230825T230000', 'test2', NULL, NULL, 'OPAQUE',
6942ae863517 NULL, NULL, 'Europe/Berlin', '20230825T192809Z', NULL, NULL, '20230825T192804Z', NULL,
6942ae863517 NULL, NULL, 670, '20230825T200000Z',
6942ae863517 '20230825T210000Z')
6942ae863517 2023-08-25 19:28:09.483 UTC [87] ERROR: current transaction is aborted, commands ignored until end of transaction block
6942ae863517 2023-08-25 19:28:09.483 UTC [87] STATEMENT: SELECT nextval('metrics_count_put')
6942ae863517 2023-08-25 19:28:09.483 UTC [87] ERROR: current transaction is aborted, commands ignored until end of transaction block
6942ae863517 2023-08-25 19:28:09.483 UTC [87] STATEMENT: DEALLOCATE pdo_stmt_00000003
I assume davical was updated in between. Did you already delete the old image from docker hub? I think you should keep older images if possible. Do you know how to update the database or what else is wrong?
Thank you and kind regards
Holger
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.