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

Install wizard is broken with Docker installation #12060

Closed
2 of 7 tasks
new-mikha opened this issue Jun 26, 2020 · 2 comments
Closed
2 of 7 tasks

Install wizard is broken with Docker installation #12060

new-mikha opened this issue Jun 26, 2020 · 2 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Comments

@new-mikha
Copy link

  • Gitea version (or commit ref): 1.12.1
  • Git version: whatever comes with the Docker image
  • Operating system: Ubuntu
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I followed "Installation with Docker" page: https://docs.gitea.io/en-us/install-with-docker/
My docker-compose.yml is attached: docker-compose.zip

The doco says "Visit http://server-ip:3000 and follow the installation wizard"

There was no installation wizard on this page though. Here is what I see:
image

When I click Explore link, I see a page that looks like a wizard start:
image

However when I click the Install button, it goes to the localhost:
image

@new-mikha
Copy link
Author

new-mikha commented Jun 26, 2020

Someone posted a suggestion which I can't see now, but it helped...

So it works now for me, thanks! Great tool.

So why it didn't kick-start, and I was very close to abandon it and switch to something else - it turned out that I needed to specify the correct address in a couple of fields:

image

I also noticed that sometimes this wizard starts as a first thing when I open URL for a freshly created container (I've made a few tests), but more often it doesn't and just shows the homepage (as I described above)

So I'd suggest the following:

  1. The "Installation with Docker" page should mention that the Installation Wizard assumes "localhost:3000" for the end-user URL. I.e. if a specific IP and another port will be used - the user is expected to change the fields highlighted in the screenshot.
  2. The Installation page need to be fixed - it's a bug that very often the home page is shown instead.
  3. When (2) right above is fixed, then the Wizard should:
    3.1 Put those settings on top of the page, into a separate section to highlight it - because it's the most important settings for the docker installation, it wouldn't work until set to the proper values.
    3.2. The settings should not default to localhost:3000. It should suggest the location.host and location.port from the client side (using a bit of the client-side JavaScript), and never allow the whole service to run until the setting is specified & saved. It also should allow to change it easily from the web UI.

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Jun 26, 2020
@stale stale bot added the issue/stale label Aug 29, 2020
@techknowlogick techknowlogick added topic/ui Change the appearance of the Gitea UI issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Aug 29, 2020
@go-gitea go-gitea deleted a comment from stale bot Aug 29, 2020
@wxiaoguang
Copy link
Contributor

It should have been fixed by

@lunny lunny closed this as completed Mar 24, 2023
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants