Getting this error while accessing any DB-dependant page: Internal server error
(psycopg2.OperationalError) FATAL: remaining connection slots are reserved for non-replication superuser connections (Background on this error at: https://sqlalche.me/e/14/e3q8). Anyone else facing this issue?
The main LB site? That works for me here, interesting
Hopefully the pinged LB team members can help figure it out
plibither8
Yep, the main one. I was logged in first and accessing my profile and got the error, so I thought to try to clear the website storage and retry. That didn't work.
Thanks for the quick response guys!
Seems to be working now!
reosarevok
Thanks for reporting the issue in any case, worth investigating for the team to try to avoid it happening again!
plibither8
( ☞˙ᵕ˙)☞
reosarevok
yvanzo: ok, installed prereqs for mb-docker - how do I set it to run and create containers in a different SSD than the default?
Is this something to set up before I run all the commands?
Yes, I knew about that one, I didn't remember I still had the MBS containers around tho
yvanzo
Those are probably MeB.o containers too.
MeB.o uses both Redis and PG.
reosarevok
Yeah, but I assume musicbrainz-docker_indexer_1 and whatnot are MBS :)
Anyway, I'd be happy to just clear all this and start from scratch - so stop all, remove all, remove all images?
yvanzo
reosarevok: It’s probably fine to wipe everything out: `docker system prune --all --volumes
Oops, `docker system prune --all --volumes`
Everything is stopped already (status = exited)
reosarevok
Is it? some said Up 10 minutes
Anyway, running that for now, let it purge as much as it will
yvanzo
oh sorry
Had to scroll down.
So you actually have had some containers part of MB-docker running for about 15 months.
reosarevok
Seems so :D
yvanzo
`prune` won’t remove the running containers and the images they use.
plibither8 has quit
reosarevok
Any reason not to just stop them and then pruning again?
yvanzo
You can just use them.
reosarevok
So I can move them to a different partition?
yvanzo
You probably have enough disk space on this partition anyway.
reosarevok
I probably do, but it's HDD not SSD :)
Will that difference make, well, a difference?
(I *think* those are running on my secondary HDD, anyway)
(not sure how to tell exactly)
yvanzo
Dunno what is faster for you: internal HDD or external SSD, it depends on buses.
reosarevok
Well, we can just put them in the HDD I guess for now, less thinking
yvanzo
You can use either `dd` or `hdparm` to find it out.
nawcom has quit
nawcom_ joined the channel
reosarevok
To find out where my docker containers are, or what is faster? :)
nawcom_ is now known as nawcom
(reading on those, what is faster I guess)
I can probably live with slower, let's just get it set up in the HDD
yvanzo
what is faster ^
Since there already are performance issues, it's probably safer not to pile up hardware issues.
To find out where your current compose project files are: `docker container inspect --format '{{.Config.Labels}}' musicbrainz-docker-db-1`
See `com.docker.compose.project.working_dir`
reosarevok
com.docker.compose.project.working_dir:/media/data/musicbrainz-docker - ok, that's the HDD
yvanzo
That's only for the config files, not for the containers.
reosarevok
What about for the containers themselves?
yvanzo
`docker system info -f '{{.DockerRootDir}}'`
reosarevok
That's /media/data/docker so also the HDD. Guess we moved that there last time we tried - but then we tried to reuse the existing MB local install for dev and it was messy
IIRC that's why I gave up eventually
So let's just make this a fully separate install this time
yvanzo
Then stop everything and prune.
reosarevok
Perfect
Ok, done
I guess now I just follow the dev install instructions?
yvanzo
👍
reosarevok
Doing the setup
A red line says "dpkg-preconfigure: unable to re-open stdin:"
should I worry?
Seems to be happily continuing so I guess not?
heh
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/relea... pip 21.0 will remove support for this functionality.
It is! Golu, chintu, monu, etc, reosarevok 😂 But I would like to see an example pf it being used incorrectly somewhere to understand the context better