mathesar-foundation / mathesar

Web application providing an intuitive user experience to databases.
https://mathesar.org/
GNU General Public License v3.0
2.36k stars 327 forks source link

This seems to be where the installation gets stuck on Ubuntu (22.04 LTS) #3565

Closed danielrosehill closed 4 months ago

danielrosehill commented 5 months ago

Seems to work okay until this point (running: python -m mathesar.install --skip-confirm | tee /tmp/install.py.log).

Yields output:

mathesar

One suggested point of feedback about the installation guide for Linux, also - it might be worth mentioning that Caddy needs to be installed (obviously) before editing the Caddyfile as users may assume that it's in their distro's repos and they are just doing something wrong.

My installation seemed to go okay minus that output, but unfortunately there's no sign of Mathesar running on port 8000 (or any port at all):

image

hitenvidhani commented 5 months ago

@danielrosehill can you try killing postgres services(if that doesn't affect other apps) and run the command again?

Anish9901 commented 4 months ago

Hi @danielrosehill, I suspect the TypeError you are encountering could be caused by using an unsupported version of Python, we currently support Python 3.9 through 3.11.

One suggested point of feedback about the installation guide for Linux, also - it might be worth mentioning that Caddy needs to be installed (obviously) before editing the Caddyfile as users may assume that it's in their distro's repos and they are just doing something wrong.

Thanks for the suggestion! I'd like to inform you that we already have it documented in the software section of the guide. If you have any further questions or need clarification, please feel free to ask. Your feedback is valuable to us!

seancolsen commented 4 months ago

I'm triaging this issue and I just want to chime in so we're clear about the next steps here...

From what I can tell, @danielrosehill you have two problems:

  1. You're running Python 3.8 and didn't understand that Mathesar can't support that Python version.
  2. You didn't understand that Caddy needs to be installed before installing Mathesar.

Is that accurate, @danielrosehill?

If so, can you tell us:

We're working hard to make the installation process easy overall, and we really appreciate the time you've taken to open a issue!

If we don't hear anything else here in a couple weeks we'll close this issue.

Or if we can help us come up with some other ideas for how to improve things, we're open to taking other actions too.

seancolsen commented 4 months ago

@danielrosehill I'm closing this now since I'm not able to identify any code changes that would seem worth making. If you have any changes to suggest, we'd still love to hear them, and we can re-open this issue if needed.