Updated Docker Build Process#17
Conversation
|
@awalkowiak Can you take a look at this when you get a chance? |
jmiranda
left a comment
There was a problem hiding this comment.
@jyeary I just got a chance to run a branch with your changes and I keep getting stuck here. I made the change to _Events.groovy in the main openboxes repository, but it just sits there. Any ideas?
openboxes-docker-grails-1 | Using configuration locations [classpath:openboxes-config.properties, classpath:openboxes-config.groovy, file:/root/.grails/openboxes-config.properties, file:/root/.grails/openboxes-config.groovy] [development]
openboxes-docker-grails-1 | Unable to load specified config location classpath:openboxes-config.properties : class path resource [openboxes-config.properties] cannot be opened because it does not exist
openboxes-docker-grails-1 | Unable to load specified config location classpath:openboxes-config.groovy : class path resource [openboxes-config.groovy] cannot be opened because it does not exist
openboxes-docker-grails-1 | Unable to load specified config location file:/root/.grails/openboxes-config.groovy : /root/.grails/openboxes-config.groovy (No such file or directory)
openboxes-docker-grails-1 | [native2ascii] Converting 14 files from /app/grails-app/i18n to /root/.grails/1.3.9/projects/app/resources/grails-app/i18n
openboxes-docker-grails-1 | [copy] Copying 1 file to /app/target/classes
openboxes-docker-grails-1 | [copy] Copying 5 files to /root/.grails/1.3.9/projects/app/resources
openboxes-docker-grails-1 | 2024-02-28 02:56:44,510 [main] INFO cfg.Environment - Hibernate 3.3.1.GA
openboxes-docker-grails-1 | 2024-02-28 02:56:44,512 [main] INFO cfg.Environment - hibernate.properties not found
openboxes-docker-grails-1 | 2024-02-28 02:56:44,513 [main] INFO cfg.Environment - Bytecode provider name : javassist
openboxes-docker-grails-1 | 2024-02-28 02:56:44,514 [main] INFO cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
openboxes-docker-grails-1 | [copy] Copying 1 file to /root/.grails/1.3.9/projects/app
openboxes-docker-grails-1 | 2024-02-28 02:56:46,256 [main] INFO warehouse._Events - Setting build date, build number, and revision number ...
openboxes-docker-grails-1 | 2024-02-28 02:56:46,261 [main] INFO warehouse._Events - Setting git revision number
openboxes-docker-grails-1 | 2024-02-28 02:56:46,263 [main] INFO warehouse._Events - Executing command git branch | grep \* | cut -d ' '
openboxes-docker-grails-1 | 2024-02-28 02:56:46,264 [main] INFO warehouse._Events - Done executing command:
openboxes-docker-grails-1 | 2024-02-28 02:56:46,264 [main] INFO warehouse._Events - Setting git branch to
openboxes-docker-grails-1 | Building React frontend
|
Disregard for now, I'm thinking this is an issue with the .node_modules so I'm going to start fresh and see if I still encounter the issue. |
|
After starting over with a new cloned repository (i.e. essentially removing node_modules) I was able to see the errors being output by the I've attached the full log file openboxes-docker-grails-1.log A lot of the errors are of the form which is either a bug with the react-icons package or makes me suspect that I need to run npm install manually before running. But why? |
|
Manually running npm install worked for me in this case. Therefore I'm going to merge this PR and create a ticket for the npm install issue. Edit: Created ticket #18 for the unresolved issue. |
This should get a running Docker Compose. I did need to modify a file in the main openboxes project called
_Events.groovyto handle an issue with SASS by adding--unsafe-permto thenpm run bundlecommand. The complete method is shown below.