GithubHelp home page GithubHelp logo

robinyo / serendipity-api Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 27.0 119.51 MB

Serendipity Server

License: MIT License

TypeScript 34.73% HTML 0.68% Dockerfile 2.29% Java 48.88% Shell 13.41%
java spring-boot spring-security oauth2 spring-rest spring-data-jpa openldap keycloak keycloak-themes posgresql

serendipity-api's Issues

error running steps from quick start guide

Following steps from Quick Start guide.
Fails on Step 3: Serve the application when running docker-compose up -d command

Output:
Building serendipity-server
Step 1/9 : FROM openjdk:11.0.7
---> fcfdce4526df
Step 2/9 : COPY /services/jasperreports-server/scripts/wait-for-container-to-exit.sh /
---> Using cache
---> dafd05c91933
Step 3/9 : COPY entrypoint.sh /
---> Using cache
---> 79f4c05850c7
Step 4/9 : RUN echo "apt-get" && chmod +x /*.sh && apt-get update && apt-get install -y --no-install-recommends curl jq && addgroup --system spring && adduser --system spring --ingroup spring && mkdir /opt/serendipity-api && chown spring:spring /opt/serendipity-api
---> Using cache
---> d200c2a40ea5
Step 5/9 : USER spring:spring
---> Using cache
---> 1ebde559df8a
Step 6/9 : COPY ./target/serendipity-rest-api-core-0.0.1-SNAPSHOT.jar /opt/serendipity-api
ERROR: Service 'serendipity-server' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder124468389/target/serendipity-rest-api-core-0.0.1-SNAPSHOT.jar: no such file or directory

I have JDK 14.0.2 installed
I have Maven 3.6.3 installed
I have Docker Desktop installed: Client: Docker Engine - Community, Version: 19.03.12

if running a second time serendipity following the quick start guide

2022-07-24 01:08:17.473 INFO 1 --- [ main] o.s.restapi.database.seed.au.Electorate : Create Electoral Divisions ...
2022-07-24 01:08:17.599 INFO 1 --- [ main] o.s.restapi.database.seed.au.Electorate : Create Electoral Divisions complete
2022-07-24 01:08:17.630 WARN 1 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23505
2022-07-24 01:08:17.631 ERROR 1 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: duplicate key value violates unique constraint "electoral_division_name_index"
Detail: Key (name)=(Adelaide) already exists.
2022-07-24 01:08:17.636 INFO 1 --- [ main] ConditionEvaluationReportLoggingListener :

this error is on serendipity-server, all server start well try to resolve in pgadmin by deleting in serenpidity the index in cause to see but no success
thanks for you help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.