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

localhost:8080 after installation unavailable #18

Open
nautilus1905 opened this issue Oct 17, 2020 · 20 comments
Open

localhost:8080 after installation unavailable #18

nautilus1905 opened this issue Oct 17, 2020 · 20 comments

Comments

@nautilus1905
Copy link

Hello,
I tried several times to build up a docker installation on a linux ubuntu 18.04, later on an antix 19.2 (debian buster derivate).
Every time I have the same problem. While the localhost:8082 and localhost:8083 work,
the localhost:8080 shows nothing.

Attached is the log of the the execution of run.sh
zotero-prime.log

@hoehnp
Copy link

hoehnp commented Oct 23, 2020

Hi nautilus1905,

what do you mean by shows nothing?

@nautilus1905
Copy link
Author

H hoehnp, thanks for responding.
It means that opening a browser to http://localhost:8080 shows a blank page, or better
the msg "Nothing to see here.", which is probabily a firefox msg for an empty page.
So localhost:8080 is somwhere reachable.
Could be a problem of relatively low RAM (8 gb) ?
Thanks again,

@hoehnp
Copy link

hoehnp commented Oct 25, 2020

Hi @nautilus1905,

I will test next week on my installation and report back. At this point
I don't think that the RAM is the problem.

@nautilus1905
Copy link
Author

Thank you very much!

@nautilus1905
Copy link
Author

Any news about the "localhost:8080" issue?

@hoehnp
Copy link

hoehnp commented Nov 10, 2020

I just tested again. I also get an empty page. And I think this was how it always was. I would only check if a zotero client can connect successfully.

@nautilus1905
Copy link
Author

Hi,
interesting. So it is not just my case. If I remember well, during one of docker builds, I was able to build also the client, but I could't connect the client to the localhost:8080 server.
Waiting for your - very appreciated - response.

@hoehnp
Copy link

hoehnp commented Nov 11, 2020

Hi,
I will install everything in a VM again and test the API. Are you using the bare repository?

@nautilus1905
Copy link
Author

Hi,
what do you mean by "using the bare repository"? In my attempts to build-up the docker I always followed the step-by-step instructions displayed at the bottom of the repository home page (readme.md, https://github.com/SamuelHassine/zotero-prime)

@hoehnp
Copy link

hoehnp commented Nov 12, 2020

I meant that you also had a look on the other issues, like for example #5 or #8. I will now reinstall it and build a custom client for testing.

@nautilus1905
Copy link
Author

Hi,
what I did was to implement the requirements reported in #8 (pkg-config issue), but not in #5 (using the IP instead of 'localhost').

@nautilus1905
Copy link
Author

I will try to re-build the docker image with the #5 issue (using the IP instead of 'localhost')

@nautilus1905
Copy link
Author

Hi, I have some progress to report.
Sorry, in the last comments where I cited "using the IP instead of 'localhost'" I meant issue #3 #3.
I modified the configuration files according to the #3 suggestion (zotero-prime/client/config.sh -> changed all "localhost" entries to IP; zotero-prime/docker/config/config.inc.php -> changed all "localhost" entries to IP for the following parameters: BASE_URI, API_BASE_URI, WWW_BASE_URI, SYNC_DOMAIN, S3_ENDPOINT) AND relaunched the init.sh and run.sh scripts and got some results. The Zotero client now seems to connect to the local server (a new "Group library" appeared in the left pane after an attempt of synchronization), but the browser connection (http:[IP]:8080) is still missing and returns an empty page. Hope this help.

@hoehnp
Copy link

hoehnp commented Nov 14, 2020

Hi @nautilus1905,

i think there is a small misunderstanding. Generally, I don't think there should be anything visible in the browser. If you also want a web interface you can have a look on the fork Christian Nils. He added weblibrary which could be what you want.

@nautilus1905
Copy link
Author

Ok, thank you for your help.

@MohamedElashri
Copy link

Hi @nautilus1905,

i think there is a small misunderstanding. Generally, I don't think there should be anything visible in the browser. If you also want a web interface you can have a look on the fork Christian Nils. He added weblibrary which could be what you want.

Hello I tried this version but the web-library just show a z letter in the middle page of "localhost:8084" and cannot use it.
do you have any idea about how to solve that?

@hoehnp
Copy link

hoehnp commented Nov 25, 2020

Hi @MohamedElashri,
so far I never really tried to deploy it. Right now I don't have so much time to look into it, but I would report back here, when I find something new. Have you already asked directly in the repository by Christian Nils?

@MohamedElashri
Copy link

Hi @MohamedElashri,
so far I never really tried to deploy it. Right now I don't have so much time to look into it, but I would report back here, when I find something new. Have you already asked directly in the repository by Christian Nils?

Hello @hoehnp

Thank you for reply. there is not issue tap in his repo to ask questions. anyway I came to the answer from him at client's repo here where he answered my question.

@hoehnp
Copy link

hoehnp commented Nov 25, 2020

@MohamedElashri
thanks for reporting back. Unfortunately no good news. :-(

@uniuuu
Copy link

uniuuu commented May 10, 2023

Hello, I tried several times to build up a docker installation on a linux ubuntu 18.04, later on an antix 19.2 (debian buster derivate). Every time I have the same problem. While the localhost:8082 and localhost:8083 work, the localhost:8080 shows nothing.

Attached is the log of the the execution of run.sh zotero-prime.log

Hi @nautilus1905,

i think there is a small misunderstanding. Generally, I don't think there should be anything visible in the browser. If you also want a web interface you can have a look on the fork Christian Nils. He added weblibrary which could be what you want.

Hi @nautilus1905 @MohamedElashri
Yes it's only API and no web interface at 8080 as @hoehnp written. If you're looking to build a client then you can try repository v2.3.4-beta or you can use next Dockerfile: https://raw.githubusercontent.com/uniuuu/zotprime/v2.3.4-beta/clientbuildtest.Dockerfile
Edit lines with ./fetch_xulrunner.sh -p [m|l|w] ./scripts/dir_build -p [m|l|w] (m=Mac, w=Windows, l=Linux) - set to l currently.
And run it with command:
DOCKER_BUILDKIT=1 docker build --file clientbuildtest.Dockerfile --output build .
client will be copied to build folder in the path from where you run command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants