Comments (14)
Susi-server can automatically be deployed through heroku now 😄
from susi_server.
Some issue deploying the app. Please see below:
Unzipping /app/tmp/cache/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0/gradle-2.0-bin.zip to /app/tmp/cache/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0
Set executable permissions for: /app/tmp/cache/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0/gradle-2.0/bin/gradle
FAILURE: Build failed with an exception.
* What went wrong:
Task 'stage' not found in root project 'fossasia-susi_server-771cb63'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.933 secs
! ERROR: Failed to run Gradle!
It looks like your project does not contain a 'stage' task, which Heroku needs in order
to build your app. Our Dev Center article on preparing a Gradle application for Heroku
describes how to create this task:
https://devcenter.heroku.com/articles/deploying-gradle-apps-on-heroku
If you're stilling having trouble, please submit a ticket so we can help:
https://help.heroku.com
Thanks,
Heroku
! Push rejected, failed to compile Gradle app.
! Push failed
from susi_server.
Update:
heroku config:set GRADLE_TASK="build" --app susi-server
was set
Error log:
2016-10-19T15:37:22.545167+00:00 app[web.1]: Error: Could not find or load main class org.loklak.LoklakServer
from susi_server.
@chashmeetsingh Because it has been renamed to org.loklak.SusiServer
from susi_server.
@jig08 I tried deploying the current state of the development branch still the same error pops up, can you recheck the code?
Thanks!
from susi_server.
please check if this helps: 2693cc9
from susi_server.
just tried, this comes up
Error: Could not find or load main class org.loklak.SusiServer
from susi_server.
@chashmeetsingh The build is working now with travis. How to make it run on Heroku?
from susi_server.
@mariobehling @Orbiter
please have a look at Settings this should help a little
from susi_server.
This is the log from heroku:
2016-10-25T23:16:19.488212+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=susi-server.herokuapp.com request_id=159a9652-7a6c-446e-af3c-5a796d2605d5 fwd="178.203.233.28" dyno= connect= service= status=503 bytes=
But I don't know what that means. Anybody any idea?
from susi_server.
It looks like heroku is throwing a 503, You can use the same buildpack that we use for loklak_server/ so that it gets the required dependencies before pushing. This documentation can help https://blog.travis-ci.com/2013-07-09-introducing-continuous-deployment-to-heroku/
from susi_server.
It seems the build was successful shortly, but now failing again.
from susi_server.
State changed from crashed to starting
2016-11-04T19:16:10.629024+00:00 heroku[web.1]: Starting process with command `sh bin/heroku_start.sh`
2016-11-04T19:16:12.151029+00:00 heroku[web.1]: State changed from starting to crashed
2016-11-04T19:16:12.135306+00:00 heroku[web.1]: Process exited with status 0
2016-11-04T19:16:11.964069+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2016-11-04T19:16:11.970029+00:00 app[web.1]: starting susi
2016-11-04T19:16:11.974331+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx350m -Xss512k -Dfile.encoding=UTF-8
2016-11-04T19:16:12.068151+00:00 app[web.1]: Error: Could not find or load main class org.loklak.SusiServer
2016-11-04T19:16:12.078552+00:00 app[web.1]: susi server started at port 4000, open your browser at http://localhost:4000
2016-11-04T20:46:24.955792+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=susi-server.herokuapp.com request_id=b8dd059e-d79d-4918-8945-93d6b142a456 fwd="58.176.218.217" dyno= connect= service= status=503 bytes=
Only issue is its not able to find the main class. I tried but couldn't find a solution
from susi_server.
Ok, so I have added you guys to the loklak Herokuapp as well. Without looking into detail I have tried to use the loklak Heroku build pack (https://github.com/loklak/heroku_buildpack_ant_loklak) for the susi server instead of Gradle. I guess some code needs to be changed in the build pack to make that work.
from susi_server.
Related Issues (20)
- SignUp Problem in Android App HOT 2
- Error when ./gradlew build is run
- Get user rating along with feedback
- Add functionality to hide chat with susi button HOT 1
- Some Links Broken HOT 7
- bug: broked badge for deployment to cloud in README
- API to delete a Skill created by the author HOT 1
- StoreDraftService not able to save any draft
- Server error occurs when user's bots are saved
- UserSkillData with zero rating getting passed
- Pass author avatar along with the skills HOT 2
- Potential security problem(s) HOT 3
- Master and Development have diverged
- Travis is not really testing the build
- susi.ai is giving 0c(euro cents) as an answer to some how to ? Questions.
- Builds run for more than 30 minutes
- Make all libraries and fonts run locally and delete external dependencies on API page
- Can't signup for susi.ai HOT 5
- Cannot sign up for the susi ai
- It's dead. Doesn't work hasn't been updated. Delete it!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from susi_server.