-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLGrammarException #662
Comments
Did you create a database for Streama after installing MySQL? |
@Jeronimo95 i instanciated database from openshift with with streama database the cli command |
@Jeronimo95 I don't think the server would start if the database wasn't instantiated |
Yes sorry. Did you add a TMDB API key? If not maybe it trying to access metadata that's not there. I'll test the steps to reproduce and see if I can recreate. |
I've tested and can't seem to reproduce the issue on ubuntu or arch. Maybe it's an issue specific to something in openshift? |
well @Jeronimo95 openshift just runs docker images and thats all i did |
I've got the same issue (exactly the same error). The MySQL query is as follows: The problem is |
I solved this by adding |
@Arjenlodder I'm experiencing the same issue ( #718 ). Could you please attach your full |
This is my full application.yml:
I'm using version 1.6.0 Final, without docker. External MySQL indeed. |
@Jeronimo95 I'm experiencing the same problem, and I'm willing to provide further information in order to fix this. I'd propose to reopen this issue as it does not seem to be fixed. I'm running streama in Alpine Linux using openjdk8. Everything works find, except for playing videos. I'm receiving the very same error message as described above. Additionally, I found out that no genre is added when adding the videos from a local directory. This is fixed after a restart of streama when setting How is the current procedure to adding the genre tags? And is there any code requiring the genre to be set? More observations:
More information about my setup:
|
This is indeed bothersome.. i cant reproduce it for my personal streama server but in general we need to fix the genre issue and make the genre checks more null-safe. I would be OK with reopening this |
@dularion I can help you reproducing this issue I guess as I'm just using a personal docker image for deployment. I'll describe my setup in hope for someone to reproduce it (or if someone gets me a hint, I may be able to have a look at the code myself). This is the
The
For the
Lastly, the
MariaDB has a user This should be reproducible with an empty database. Just add a file to the volume and add it in streama. Without restarting the container/streama, one should not be able to watch the video. Once restarted, the database is updated (not sure what that means in terms of Grails), and the genre is added to the database entry. I've confirmed that it is indeed the missing genre that's causing the issues when trying to play the movie. |
That's really unfortunate, I'm having the same issue. Any way I can help? |
Fixed in v1.6.6 |
SQLGrammarException
Steps to Reproduce
Expected Behaviour
movie should have started playing using streama video player
Actual Behaviour
internal server error
Environment Information
Stack Trace
The text was updated successfully, but these errors were encountered: