Skip to content
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

-Fixes the broken thumbnail images of models in Oryx home #518

Merged
merged 2 commits into from
Jun 2, 2015

Conversation

gautamsawala
Copy link
Contributor

-This is fix for the problem that occured after migrating to postgres 9.x versions

postgres@debian:~$ psql poem < /poem-jvm/data/database/thumbnail_fix.sql

@tiku01
Copy link
Owner

tiku01 commented May 4, 2015

We need according changes in https://github.com/tiku01/oryx-editor/blob/master/poem-jvm/data/database/db_schema.sql as well for installation (in the opposite to upgrading).
It seems to modify the default value (not a session's only value) we need to modify

user@machine:~# vim /etc/postgresql/9.4/main/postgresql.conf 
bytea_output = 'escape'                 # hex, escape

However, on Deb Jessie with Postgres 9.4 this doesn't help the cause, i.e. the preview images are still not shown ...

@tiku01
Copy link
Owner

tiku01 commented May 8, 2015

Concerns #523 - and please put the documentation you supplied into the comments here.

@tiku01
Copy link
Owner

tiku01 commented May 26, 2015

still not working here - as determined earlier the problem seems to be with the encrypted connection - oryx references the pictures by http but using port 8443, which cannot work. The previews do work if using the unencrypted connection. Please investigate ...

-This is fix for the problem that occured after migrating to postgres 9.x versions

postgres@debian:~$ psql poem <  <path to oryx>/poem-jvm/data/database/thumbnail_fix.sql
-The thumbnail url had an issue, was always directing to 'http://..'
-Thus on the server using 'https://' did not display the thumbnail.
-Changed the manually defined 'http://' string to obtain the protocol scheme from the server('http://' or 'https://' based on what protocol is implemented).
@gautamsawala
Copy link
Contributor Author

Fixed the thumbnails, for encrypted connections, implementing 'https://'.
Please check and let me know if the problem still persists or if it is fixed.

tiku01 added a commit that referenced this pull request Jun 2, 2015
Fixes the broken thumbnail images of models in Oryx home
@tiku01 tiku01 merged commit 6eae180 into tiku01:master Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants