# Cant install plex

**URL:** <https://forums.plex.tv/t/cant-install-plex/819187>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [November 19, 2022, 10:23pm UTC](https://forums.plex.tv/t/cant-install-plex/819187 "2022-11-19T22:23:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![c0r0na](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@c0r0na](https://forums.plex.tv/u/c0r0na)\
**Post date:** [November 19, 2022, 10:23pm UTC](https://forums.plex.tv/t/cant-install-plex/819187/1 "2022-11-19T22:23:29Z")

</div>

fatal: [localhost]: FAILED! =\> {“changed”: false, “elapsed”: 30, “msg”: “Status code was -1 and not [201]: Request failed: ”, “redirected”: false, “status”: -1, “url”: “[https://plex.tv/users/sign\_in.json](https://plex.tv/users/sign_in.json)”}

i cant install plex all i get is this

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [November 20, 2022, 12:44am UTC](https://forums.plex.tv/t/cant-install-plex/819187/2 "2022-11-20T00:44:18Z")

</div>

Sorry to hear about that. Please tell us the hardware and OS you’re running.  
I see you have a Plex Pass. Have you installed PMS before and have an idea what to do?  
If not you might be like me and refer often to the Plex Articles at the bottom of every page. Those are the user manual.

---

<div class="post-metadata">

**Author:** ![c0r0na](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@c0r0na](https://forums.plex.tv/u/c0r0na)\
**Post date:** [November 20, 2022, 2:25am UTC](https://forums.plex.tv/t/cant-install-plex/819187/3 "2022-11-20T02:25:10Z")

</div>

I’m running it on a vm with 16 cores and 32gbram and 500nvme and 10gbite line. everything was fine till 2 days ago when plex scanner stopped working with metadata then the server just disappeared, I couldn’t see the server but my girlfriend could see the server and stream like normal. Apparently it only showed in apps but not in browser “app.plex.tv” I then deleted the preference file thinking it was a claiming issue then tried to reinstall plex and got this error.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 20, 2022, 5:13am UTC](https://forums.plex.tv/t/cant-install-plex/819187/4 "2022-11-20T05:13:25Z")

</div>

On Linux, in the default configuration

1. Runs as user `plex:plex`
2. Puts all of the metadata in `/var/lib/plexmediaserver`

Now, when a server ‘disappears’, it’s because the player can’t see the server.  
( Plex uses a decoupled Server-Client/Player architecture )

When you tell us the OS, also please tell us if you used the GUI (App Store) to install or installed from the command line.

---

<div class="post-metadata">

**Author:** ![c0r0na](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@c0r0na](https://forums.plex.tv/u/c0r0na)\
**Post date:** [November 20, 2022, 2:18pm UTC](https://forums.plex.tv/t/cant-install-plex/819187/5 "2022-11-20T14:18:33Z")

</div>

corona@plex:~$ curl -v [https://plex.tv/users/sign\_in.json](https://plex.tv/users/sign_in.json)

- Trying 54.77.38.75:443…
- TCP\_NODELAY set
- Connected to plex.tv (54.77.38.75) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- successfully set certificate verify locations:
- CAfile: /etc/ssl/certs/ca-certificates.crt  
CApath: /etc/ssl/certs
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- OpenSSL SSL\_connect: Connection reset by peer in connection to plex.tv:443
- Closing connection 0  
curl: (35) OpenSSL SSL\_connect: Connection reset by peer in connection to plex.tv:443

I think the server is being blocked blocked from plex since it just gets stuck here.

> [@ChuckPa](#):
>
> When you tell us the OS, also please tell us if you used the GUI (App Store) to install or installed from the command line.

Ububtu 20, command line.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 20, 2022, 7:15pm UTC](https://forums.plex.tv/t/cant-install-plex/819187/6 "2022-11-20T19:15:07Z")

</div>

> [@c0r0na](#):
>
> corona@plex:~$ curl -v [https://plex.tv/users/sign\_in.json](https://plex.tv/users/sign_in.json)
> 
> - Trying 54.77.38.75:443…
> - TCP\_NODELAY set
> - Connected to plex.tv (54.77.38.75) port 443 (#0)
> - ALPN, offering h2
> - ALPN, offering http/1.1
> - successfully set certificate verify locations:
> - CAfile: /etc/ssl/certs/ca-certificates.crt  
> CApath: /etc/ssl/certs
> - TLSv1.3 (OUT), TLS handshake, Client hello (1):
> - OpenSSL SSL\_connect: Connection reset by peer in connection to plex.tv:443
> - Closing connection 0  
> curl: (35) OpenSSL SSL\_connect: Connection reset by peer in connection to plex.tv:443
> 
> I think the server is being blocked blocked from plex since it just gets stuck here.

I don’t know what you’re trying to accomplish here or have previously done but what you show me is not at all related to installing and setting up a server.

Looking at your account, Plex.tv shows me

1. A server which you created in docker 4 months ago, with NAT addressing, which hasn’t been seen in 4 months.

2. Another server with the same name whichyou also created in a docker container 6 months ago, also with NAT addressing which was seen 4 days ago.

3. This most recent server does have a public IP address registered meaning it is accessible via [https://app.plex.tv/desktop](https://app.plex.tv/desktop) or opening it via its public IP address/

None of your servers are ‘blocked’.

From what you post, it looks like you’re trying to do things via curl.

That’s never been how you access a server under normal operation. There are a couple exceptions: claiming it and a couple non-gui special commands which can be used when a GUI isn’t available.

If you’re trying to setup / add the media,

1. With the server claimed and accessible in the gui
2. Open the desktop app via the server IP address or App.plex.tv URL

---

<div class="post-metadata">

**Author:** ![saltydk](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@saltydk](https://forums.plex.tv/u/saltydk)\
**Post date:** [November 20, 2022, 7:24pm UTC](https://forums.plex.tv/t/cant-install-plex/819187/7 "2022-11-20T19:24:02Z")

</div>

He posted the curl result because I told him to do it. plex.tv is the API endpoint for Plex and since the server cannot reach it then obviously it will have difficulties registering itself.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 18, 2023, 7:24pm UTC](https://forums.plex.tv/t/cant-install-plex/819187/8 "2023-02-18T19:24:20Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
