aptly-web-ui icon indicating copy to clipboard operation
aptly-web-ui copied to clipboard

aptly web ui not showing any repos and snapshots

Open thinksabin opened this issue 6 years ago • 7 comments

hi,

i installed the aptly web ui using nginx. The website is working but it doesn't show any existing snapshots or repos. I already have 3 repos and numbers of snapshots or it and even in serve state. Am i having any issue here or is this how it works?

thinksabin avatar Apr 10 '18 11:04 thinksabin

Definitely not normal, but without more informations I can not really understand what's going on. Best guess is the static server is working but not the reverse proxy to the API.

Are you sure aptly's API is running at all?

sdumetz avatar Apr 11 '18 12:04 sdumetz

thanks for quick reply. Ya, this is not as expected. My aptly is running, here is the ps status of it.

ubuntu   27421  0.0  0.1  42184 15972 ?        Sl   Apr05   0:12 /usr/bin/aptly api serve -no-lock -listen=:8088 -config=/home/ubuntu/.aptly.conf
ubuntu   27422  0.0  0.2  32672 17212 ?        Sl   Apr05   0:26 aptly serve -listen=:8080 -config=/home/ubuntu/.aptly.conf

I wonder what should be the right way to set reverse proxy in nginx. I extracted the archieve as mentioned in documentation, and setup nginx with root folder pointing to /home/ubuntu/.aptly/public

thanks.

thinksabin avatar Apr 11 '18 15:04 thinksabin

hi, i again served the aptly in different port addition to above.

aptly api serve -listen=:8085 -no-lock

and in nginx proxy to 8085 port proxy_pass http://127.0.0.1:8085

and it worked. I can see all the repos and snapshots created by aptly under user ubuntu.

But web ui is all messed up might be due to large number of repos and snapshots. May be UI wasn't designed to handle large number of data.

please let me know where did i get things wrong. thanks

thinksabin avatar Apr 11 '18 17:04 thinksabin

Can you provide me a screenshot? It's totally possible that the UI breaks on larger number of repos. I admit I've never tested it past ~3/4 repos...

sdumetz avatar Apr 12 '18 06:04 sdumetz

I have attached two images, compared with chrome on left and firefox on right. Safari was total mess. :)

aptly-web-ui-compare-mess aptly-web-compare-ui-mess2

beside, the upload function seems not working in firefox. In chrome i can't even find it.

thinksabin avatar Apr 12 '18 07:04 thinksabin

OK it looks like a bad layout for larger repo counts. I'll look into it when I have some spare time.

sdumetz avatar Apr 12 '18 09:04 sdumetz

cool, thanks.

thinksabin avatar Apr 12 '18 10:04 thinksabin