Git Product home page Git Product logo

Comments (4)

F43nd1r avatar F43nd1r commented on August 22, 2024

This kind of looks like you have javascript disabled. Is that the case?
If not, which version did you try to deploy?

from acrarium.

RobinJ1995 avatar RobinJ1995 commented on August 22, 2024

Nope, Javascript is enabled. This would've been 0.9.6.

from acrarium.

RobinJ1995 avatar RobinJ1995 commented on August 22, 2024

I see there's a Dockerfile now, which is great as that'd rule out any environment-specific issues. But am I right in assuming that as of yet there seems to be no way to pass any form of configuration (database credentials?) into the container? (Aside from just mounting the config directory, which I suppose is an option.)

I just tried running it as-is but as expected it won't start up without a database to connect to :)

$ kubectl logs acrarium-76cc9b9d75-g7877
                                 _                   _        
  __ _  _ __    ___ __  __  ___ | |__    __ _  _ __ | |_  ___ 
 / _` || '_ \  / _ \\ \/ / / __|| '_ \  / _` || '__|| __|/ __|
| (_| || |_) ||  __/ >  < | (__ | | | || (_| || |   | |_ \__ \
 \__,_|| .__/  \___|/_/\_\ \___||_| |_| \__,_||_|    \__||___/
       |_|                                                    

2019-11-23 12:32:26.667  INFO 1 --- [           main] com.faendir.acra.BackendApplication      : Starting BackendApplication on acrarium-76cc9b9d75-g7877 with PID 1 (/acrarium started by root in /)
2019-11-23 12:32:26.685  INFO 1 --- [           main] com.faendir.acra.BackendApplication      : No active profile set, falling back to default profiles: default
2019-11-23 12:32:27.377  INFO 1 --- [           main] o.s.c.a.ConfigurationClassParser         : Properties location [file:${user.home}/.config/acrarium/application.properties] not resolvable: /root/.config/acrarium/application.properties (No such file or directory)
2019-11-23 12:32:27.378  INFO 1 --- [           main] o.s.c.a.ConfigurationClassParser         : Properties location [file:${user.home}/.acra/application.properties] not resolvable: /root/.acra/application.properties (No such file or directory)
2019-11-23 12:32:34.417  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-11-23 12:32:34.868  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 351ms. Found 0 repository interfaces.
2019-11-23 12:32:37.336  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$9662d74] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-23 12:32:37.603  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$a213f5ae] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-23 12:32:37.629  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'objectPostProcessor' of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-23 12:32:37.636  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@4b3fe06e' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-23 12:32:37.642  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration' of type [org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$c6e89860] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-23 12:32:37.665  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-23 12:32:38.803  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2019-11-23 12:32:38.999  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-11-23 12:32:39.013  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.24]
2019-11-23 12:32:39.717  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-11-23 12:32:39.720  INFO 1 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 12794 ms
2019-11-23 12:32:40.779  INFO 1 --- [           main] c.g.z.f.compression.CompressingFilter    : CompressingFilter has initialized
2019-11-23 12:32:41.012  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'liquibase' defined in file [/acrarium/com/faendir/acra/liquibase/ChangeAwareSpringLiquibase.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine suitable jdbc url
2019-11-23 12:32:41.025  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2019-11-23 12:32:41.037  INFO 1 --- [           main] c.g.z.f.compression.CompressingFilter    : CompressingFilter is being destroyed...
2019-11-23 12:32:41.089  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-11-23 12:32:41.099 ERROR 1 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine suitable jdbc url


Action:

Consider the following:
	If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
	If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

from acrarium.

F43nd1r avatar F43nd1r commented on August 22, 2024

Configuration is most easily passed into the container using environment variables, which can be set e.g. by docker-compose https://github.com/F43nd1r/Acrarium/wiki/Docker-setup-with-existing-database

from acrarium.

Related Issues (20)

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.