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

On version 1.7 the revision link times out #245

Closed
f8dca opened this issue Apr 3, 2024 · 10 comments · Fixed by #260
Closed

On version 1.7 the revision link times out #245

f8dca opened this issue Apr 3, 2024 · 10 comments · Fixed by #260
Labels
bug Something isn't working

Comments

@f8dca
Copy link

f8dca commented Apr 3, 2024

Hi,

Just updated to 1.7 from 1.6 by pulling the latest docker image.
After the update the link to show file revisions is no longer working - errors out with a time.

Cheers

G.

@thomiceli
Copy link
Owner

Hi, what is the error returned in the logs ?

Can you upload your git repository here ? https://demo.opengist.io
It's maybe git related but it seems i can't reproduce

@f8dca
Copy link
Author

f8dca commented Apr 3, 2024

Opengist v1.7.0  
Using YAML config file: /config.yml  
Using environment variables config: OG_OPENGIST_HOME, OG_SSH_GIT_ENABLED  
usermod: no changes  
Opengist v1.7.0    
Using YAML config file: /config.yml  
Using environment variables config: OG_OPENGIST_HOME, OG_SSH_GIT_ENABLED  
usermod: no changes  
Opengist v1.7.0  
Using YAML config file: /config.yml  
Using environment variables config: OG_OPENGIST_HOME, OG_SSH_GIT_ENABLED  

This is the log in docker - Not sure where can I find the log files inside the docker container
/var/log folder is empty and there is nothing in the /opengist folder

@thomiceli
Copy link
Owner

The logs of Opengist in the Docker image are in /opengist/log/opengist.log

Did you restarted manually the image or it crashes after the usermod ?

@f8dca
Copy link
Author

f8dca commented Apr 4, 2024

total 8
drwxr-xr-x    2 opengist opengist      4096 Apr  4 18:31 .
drwxr-xr-x   10 opengist opengist      4096 Apr  3 03:30 ..
-rw-r--r--    1 opengist opengist         0 Apr  4 18:31 opengist.log

opengist times out after clicking on the revisions link without writing anything into the log file.

also this happens only for one particular gist which gets a push from my local git. Normal gists created on the GUI are working fine

@f8dca
Copy link
Author

f8dca commented Apr 4, 2024

Do you want me to run any commands inside the repo to get the git status?

opengist/repos/admin/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # ls
HEAD                  git-daemon-export-ok  packed-refs
branches              hooks                 refs
config                info
description           objects

@thomiceli thomiceli added the bug Something isn't working label Apr 4, 2024
@thomiceli
Copy link
Owner

Sorry for the delay, weird that the log file is empty. Can you please try to push your git repository here https://demo.opengist.io ?

@f8dca
Copy link
Author

f8dca commented Apr 12, 2024 via email

@f8dca
Copy link
Author

f8dca commented Apr 12, 2024 via email

@thomiceli
Copy link
Owner

thomiceli commented Apr 12, 2024

Okay no problem, i will check the repository

@thomiceli
Copy link
Owner

thomiceli commented Apr 12, 2024

I see, it's because in the git log diff, we have a token too large for the buffer to be parsed (the line containing your svg file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants