Rebuilt running ubuntu ARMv7 and no Library option

Server Version#: Ubuntu 20 / ARMv7
Player Version#: 1.24.3.5033-757abe6b4

The server was running for many months and we tried to apt upgrade and it failed.
After trouble shooting, the server had to be rebuilt

After the rebuild of the server, plex was installed.

When accessing the local plex web page there is no option to add a “Library”. Therefore the Plex server is empty and local data is not available.

What am I missing.

You need 1.24.4.5081 which contains the ARMv7 corrections.

This problem has taken some time to isolate.

While it’s PlexPass, here is the Ubuntu download link.

https://downloads.plex.tv/plex-media-server-new/1.24.4.5081-e362dc1ee/debian/plexmediaserver_1.24.4.5081-e362dc1ee_armhf.deb

I removed the version that I had installed and installed 1.24.4.5081

Then wen to the xxx.xxx.xxx:32400/web/index.htm
and got the same

Add your media to Plex

Organize, beautify, stream, and share your personal collection of movies, TV, music, and photos anywhere, on all your devices. To get started, download our free Plex Media Server software on the device where you store your media.

Is the server on the same (local) network as the web client? If not, for initial setup you’ll need to establish an SSH tunnel to proxy the connection. There’s more detail here (see “On a Different Network”):
https://support.plex.tv/articles/200288586-installation/

If it’s on the same local network as your client, the information in this article may help:
https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/

yes, it is on a local server. http://192.168.1.172:32400/web/ and same (local) network as the web client.

I’m ssh on it now. …that is how I install the plex server app

looking at Preferences.xml after it was installed… it has this in it

<?xml version="1.0" encoding="utf-8"?>

not what this page says Why am I locked out of Server Settings and how do I get in? | Plex Support

@jag7720

Easy method (first attempt)

  1. Sign out of Plex/web in your browser
  2. Open an incognito tab/window
  3. Use that tab/window to open the server by it’s LAN IP address
  4. It should want to do the normal claiming process.

If not, while at the shell.

  1. Open a tab to https://plex.tv/claim
  2. It will present you with a claim token (valid for 5 minutes)
  3. On the SSH command line in the server, with PMS running, type:

curl -X POST ‘http://127.0.0.1:32400/myplex/claim?token=PASTE_CLAIM_TOKEN_HERE

It will sit idle for 15-20 seconds while PMS and Plex.tv use that claim-xxxxx token to reattach the server to your account.

When complete, it will print a whole bunch of “feature flags”. This is normal.

You can now access the server normally.

the Easy method didn’t work so I tried the other one.

From a shell I typed it out and got the following

root@odroid:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server# curl -X POST ‘http://127.0.0.1:32400/myplex/claim?token=claim--QSRq8hGP3Ypewu17jrR

Internal Server Error

500 Internal Server Error

root@odroid:/var/lib/plexmediaserver/Library/Application Support/Proot@odroid:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server#

then I cd to /root and got this

root@odroid:~# curl -X POST ‘http://127.0.0.1:32400/myplex/claim?token=claim--QSRq8hGP3Ypewu17jrR

Internal Server Error

500 Internal Server Error

root@odroid:~#

Please confirm you installed 1.24.4.5081 ?

I am afraid you might need to reinstall cold (delete Library) and start again because it seems you have no / completely blown database

When you say "reinstall cold " do you mean the app or the server OS? I hope it is the app because that works for me…as I just built the server :slight_smile:

Let me know.
Thanks

Just FYI…

I went ahead and uninstalled the app, reboot the server and installed Plex again.

root@odroid:~# dpkg --install plexmediaserver_1.24.4.5081-e362dc1ee_armhf.deb
Selecting previously unselected package plexmediaserver.
(Reading database … 59634 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.24.4.5081-e362dc1ee_armhf.deb …
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.24.4.5081-e362dc1ee) …
Setting up plexmediaserver (1.24.4.5081-e362dc1ee) …
PlexMediaServer install: PlexMediaServer-1.24.4.5081-e362dc1ee - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: video
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.24.4.5081-e362dc1ee - Installation successful. Errors: 0, Warnings: 0
Processing triggers for mime-support (3.64ubuntu1) …
root@odroid:~#

Now, with 5081 installed, if the database isn’t recovering, with no backups of it, you’ll be forced to start fresh with the server.

If you look in the ‘Plug-in Support/Databases’ directory, are there any com.plexapp.plugins.library.db backup files of appreciable size ?

root@odroid:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases# ll
total 820
drwxr-xr-x 2 plex plex 4096 Oct 9 14:44 ./
drwxr-xr-x 7 plex plex 4096 Oct 9 07:55 …/
-rw-rw-r-- 1 plex plex 359424 Oct 9 08:00 com.plexapp.plugins.library.blobs.db
-rw-rw-r-- 1 plex plex 32768 Oct 9 14:44 com.plexapp.plugins.library.blobs.db-shm
-rw-rw-r-- 1 plex plex 0 Oct 9 14:44 com.plexapp.plugins.library.blobs.db-wal
-rw-rw-r-- 1 plex plex 361472 Oct 9 14:26 com.plexapp.plugins.library.db
-rw-rw-r-- 1 plex plex 32768 Oct 9 14:56 com.plexapp.plugins.library.db-shm
-rw-rw-r-- 1 plex plex 40904 Oct 9 14:55 com.plexapp.plugins.library.db-wal

however, when I go to the local IP web site, I get the same thing

ugh… NOT good.

  1. Stop Plex
  2. sudo rm -rf /var/lib/plexmediaserver/Library
  3. Start Plex
  4. Fresh setup. Give it 2-3 minutes after starting to setup the empty database before opening the web browser. (ARMv7 is NOT the fastest thing in the tool shed)

agree the ARMv7 is not fast… it was a 7 year old NAS sitting on the counter… It now is only a Plex server.

I removed plex
rebooted
installed plex
rebooted
stopped plex sserver
removed the Library
restarted plex
waited 5 minutes
still getting the same thing in the browser from the internal network.

How dumb am I?

What am I missing

It’s a NAS, running regular Linux?

Which vendor?

It is an ODROID-HC1

The mother board shows
MSIP-REM-HKL-ODROID-XU4S

Yes, I bought the hardware and it set on the shelf for 6 years, The I picked it up and wanted to do something with it and was tired of running PLEX off a desktop…Then a NAS that could run Plex and cost me nothing except time, sounded like a good idea. I built it and it ran great.

Here we are. It was working for the last year and I decided to update the OS and … it would not let me or root… so I rebuilt it and again, here we are

I just had a thought… I have some older Plex deb files… should I go back to one of them?

plexmediaserver_1.22.1.4275-48e10484b_armhf.deb
plexmediaserver_1.24.3.5033-757abe6b4_arm64.deb
plexmediaserver_1.24.3.5033-757abe6b4_armhf.deb
plexmediaserver_1.24.4.5081-e362dc1ee_armhf.deb
plexmediaserver_1.5.5.3634-995f1dead_amd64.deb

Sure… go back to 1.22.x and start fresh there.

The DB is always upward compatible.

ok… I uninstalled the current version and installed plexmediaserver_1.22.1.4275-48e10484b_armhf.deb

rebooted it ran
curl -X POST ‘http://127.0.0.1:32400/myplex/claim?token=claim-i-YspjHgNz5rZvPsHLzP

and got
?xml version=“1.0” encoding=“UTF-8”?>
MyPlex authToken=“W2btyNPDw6ixeogi2m9f” username="XXXX@XXXXXX.com" mappingState=“mapped” mappingError=“unreachable” signInState=“ok” publicAddress="" publicPort=“0” privateAddress="" privatePort=“0” subscriptionFeatures=“044a1fac-6b55-47d0-9933-25a035709432,04d7d794-b76c-49ef-9184-52f8f1f501ee,06d14b9e-2af8-4c2b-a4a1-ea9d5c515824,07f804e6-28e6-4beb-b5c3-f2aefc88b938,0eee866d-782b-4dfd-b42b-3bbe8eb0af16,1417df52-986e-4e4b-8dcd-3997fbc5c976,16d69c53-4c40-4821-b9f3-57ca690b2d4d,228a6439-ee2f-4a9b-b0fc-1bfcd48b5095,22b27e12-472e-4383-92ea-2ec3976d8e72,24b4cf36-b296-4002-86b7-f1adb657e76a,2797e341-b062-46ed-862f-0acbba5dd522,2ea0e464-ea4f-4be2-97c1-ce6ed4b377dd,300231e0-69aa-4dce-97f4-52d8c00e3e8c,34e182bd-2f62-4678-a9e9-d13b3e25019d,39dbdd84-8339-4736-96a1-0eb105cc2e08,3c376154-d47e-4bbf-9428-2ea2592fd20a,4742780c-af9d-4b44-bf5b-7b27e3369aa8,4b522f91-ae89-4f62-af9c-76f44d8ef61c,4cd4dc0e-6cbe-456c-9988-9f073fadcd73,4e27cf82-9fb6-4ebe-8e10-c48bfe6fbbb6,567033ef-ffee-44fb-8f90-f678077445f9,5b6190a9-77a4-477e-9fbc-c8118e35a4c1,5d819d02-5d04-4116-8eec-f49def4e2d6f,5e2a89ec-fb26-4234-b66e-14d37f35dff2,62b1e357-5450-41d8-9b60-c7705f750849,644c4466-05fa-45e0-a478-c594cf81778f,65685ff8-4375-4e4c-a806-ec1f0b4a8b7f,68747f3a-ce13-46ce-9274-1e0544c9f500,6d7be725-9a96-42c7-8af4-01e735138822,78643fe5-d192-40c7-8e93-5ccf04c0b767,7e7596aa-6e2c-41d1-a460-1e13cf0b62f2,849433b0-ef60-4a71-9dd9-939bc01f5362,8536058d-e1dd-4ae7-b30f-e8b059b7cc17,85ebfb7b-77fb-4afd-bb1a-2fe2fefdddbe,86da2200-58db-4d78-ba46-f146ba25906b,8e8dd5c8-14a4-4208-97d4-623e09191774,96cac76e-c5bc-4596-87eb-4fdfef9aaa11,98872b06-2ff3-4b71-96bc-039e2ebe7adc,9a67bff2-cb80-4bf9-81c6-9ad2f4c78afd,a19d495a-1cef-4f7c-ab77-5186e63e17f7,a3d2d5c4-46a0-436e-a2d6-80d26f32b369,a4bc568b-477f-4f36-894b-49e19f34353f,a536a6e1-0ece-498a-bf64-99b53c27de3a,a548af72-b804-4d05-8569-52785952d31d,a6f3f9b3-c10c-4b94-ad59-755e30ac6c90,abd37b14-706c-461f-8255-fa9563882af3,adaptive_bitrate,b20d91ca-1b2f-45a2-a115-c1ad24c66ac5,b227c158-e062-4ff1-95d8-8ed11cecafb1,b2403ac6-4885-4971-8b96-59353fd87c72,b46d16ae-cbd6-4226-8ee9-ab2b27e5dd42,b5874ecb-6610-47b2-8906-1b5a897acb02,b612f571-83c3-431a-88eb-3f05ce08da4a,b77e6744-c18d-415a-8e7c-7aac5d7a7750,bb50c92f-b412-44fe-8d8a-b1684f212a44,bfeaee4e-965a-4d24-b163-020c3c57d936,c55d5900-b546-416d-a8c5-45b24a13e9bc,c7ae6f8f-05e6-48bb-9024-c05c1dc3c43e,camera_upload,cc9bea3b-11ab-4402-a222-4958bb129cab,collections,d14556be-ae6d-4407-89d0-b83953f4789a,d1477307-4dac-4e57-9258-252e5b908693,d20f9af2-fdb1-4927-99eb-a2eb8fbff799,d9f42aea-bc9d-47db-9814-cd7a577aff48,dab501df-5d99-48ef-afc2-3e839e4ddc9a,db965785-ca5c-46fd-bab6-7b3d29c18492,ddd730e1-a0a0-429f-a7d3-7c5001d24497,download_certificates,e45bc5ae-1c3a-4729-922b-c69388c571b7,e66aa31c-abdd-483d-93bc-e17485d8837f,e7cea823-02e5-48c4-a501-d37b82bf132f,ee352392-2934-4061-ba35-5f3189f19ab4,f3235e61-c0eb-4718-ac0a-7d6eb3d8ff75,f83450e2-759a-4de4-8b31-e4a163896d43,f8ea4f37-c554-476a-8852-1cbd2912f3f6,fb34e64d-cd89-47b8-8bae-a6d20c542bae,fec722a0-a6d4-4fbd-96dc-4ffb02b072c5,federated-auth,home,kevin-bacon,livetv,loudness,radio,server-manager,shared-radio,tuner-sharing,type-first,unsupportedtuners” subscriptionActive=“0” subscriptionState=“Inactive”
MyPlex

and got a " How Plex Works" page …

this way worked and I’m adding channels and it is working.

Weird, when I ran the curl command in the newer version… I didn’t get a large reply on the terminal. I got nothing