I'm trying to build the server, downloaded the sources from git and started the build and it seems that it is stuck on 33% for 40 minutes already (Amazon linux) - Is it possible? Should I wait more? please see below the trace:
> Task :generateProto
Watching 59 directories to track changes
Watching 60 directories to track changes
Caching disabled for task ':generateProto' because:
Build cache is disabled
Task ':generateProto' is not up-to-date because:
No history is available.
Watching 59 directories to track changes
Downloading https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.24.0/protoc-3.24.0.pom to /root/.gradle/.tmp/gradle_download14813647084251726670bin
Downloading https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.24.0/protoc-3.24.0-linux-x86_64.exe to /root/.gradle/.tmp/gradle_download9833968086159616236bin
Resolved artifact: /root/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.24.0/760ed5e92b686c58539ac507cf35231b6467f0b3/protoc-3.24.0-linux-x86_64.exe
[/root/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.24.0/760ed5e92b686c58539ac507cf35231b6467f0b3/protoc-3.24.0-linux-x86_64.exe, -I/usr/src/traccar/src/main/proto, -I/usr/src/traccar/build/extracted-protos/main, -I/usr/src/traccar/build/extracted-include-protos/main, --java_out=/usr/src/traccar/build/generated/source/proto/main/java, /usr/src/traccar/src/main/proto/DolphinConfig.proto, /usr/src/traccar/src/main/proto/DolphinMessages.proto, /usr/src/traccar/src/main/proto/OmnicommMessage.proto, /usr/src/traccar/src/main/proto/StarLinkMessage.proto]
<=<====---------> 33% EXECUTING [40m 29s]
> :generateProto
It shouldn't take that long. It takes less than a minute for me to compile everything. Try starting over and if it doesn't help, you should enable more verbose output to see what the problem is.
Hi,
Problem was solved after adding more CPU and RAM - the AWS instance was t.3 micro, increased to t3.small
I'm trying to build the server, downloaded the sources from git and started the build and it seems that it is stuck on 33% for 40 minutes already (Amazon linux) - Is it possible? Should I wait more? please see below the trace: