Comments (15)
That’s helpful, thank you.
from ombi.
That is odd.
I would have expected some logs when running the importer to tell you why it didn’t import.
Can you run the importer manually and check the logs?
from ombi.
There are no logs at all generated when I run the User Importer.
This is the last entry of the logs before and after I run the importer, just for reference now it is 15:05. This is unrelated with the import and no extra logs are generated.
2023-07-25 13:37:51.522 +02:00 [ERR] Could not test Plex
System.Net.Http.HttpRequestException: Connection refused (192.168.0.231:17878)
---> System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[...]
I've also intercepted the request I'm doing with a proxy:
POST /ombi/api/v1/Job/plexUserImporter/ HTTP/2
Host: ombi.estebanell.com
Cookie:
Content-Length: 187
Sec-Ch-Ua: "Not/A)Brand";v="99", "Google Chrome";v="115", "Chromium";v="115"
Accept: application/json, text/plain, /
Content-Type: application/json
Sec-Ch-Ua-Mobile: ?0
Authorization:
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Sec-Ch-Ua-Platform: "macOS"
Origin: https://ombi.estebanell.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://ombi.estebanell.com/ombi/Settings/UserManagement
Accept-Encoding: gzip, deflate
Accept-Language: en-ES,en;q=0.9,ca-ES;q=0.8,ca;q=0.7,es-ES;q=0.6,es;q=0.5,en-GB;q=0.4,en-US;q=0.3{"headers":{"normalizedNames":{},"lazyUpdate":[{"name":"Content-Type","value":"application/json","op":"s"}],"headers":{},"lazyInit":{"normalizedNames":{},"lazyUpdate":null,"headers":{}}}}
And what I get in response is:
HTTP/2 200 OK
Server: nginx/1.25.1
Date: Tue, 25 Jul 2023 13:02:58 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 4
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://ombi.estebanell.com
Vary: Origin
Strict-Transport-Security: max-age=31536000true
from ombi.
I have the same problem. No logs too
from ombi.
same problem here have it for a few days now reinstalled everything on docker even have used new configs for plex and ombi but it will not import new registerd users that have signed up the last 3 months or so checked users in yml no difference with other users only thing making them differend is there sign up date
from ombi.
from ombi.
Can someone send me the output from this call either via email [email protected] or on Discord
https://plex.tv/api/users?X-Plex-Token=PLEX_TOKEN
You can find your PLEX_TOKEN
here: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
from ombi.
I have the same issue, no logs are generated when the importer function is called.
I can still see the missing users using this link: https://plex.tv/api/users?X-Plex-Token=PLEX_TOKEN
from ombi.
same issue. super weird. wife was in my ombi until some seemingly random point a day or two ago. only things i recall changing in the last few days was removing some items from her watchlist on plex. (watchlist request is set up)
now she's not there and no matter how many times or ways i try to run the importer she isnt coming back lol.
everyone else seems untouched which leads me to believe it has to have something to do with having removed those watchlist items from my tvs plex client.
already tried removing/re-adding the server thinking maybe some kinda token thing but it found the same server, same token, no bueno.
have a few errors in my logs but unsure which if any are relevant. gonna pastebin em momentarily.
so there was a whole lot of this
https://privatebin.net/?477f25e8cdf5c5b4#HFRvaiY2DmwfdisNLqPQ1vsM7xkNoLwG2HZjDWMwAEjP
and this
https://privatebin.net/?8deb8f1b64b6fd47#9W8xVUgAxGmkEFHuVge8HBbVxmCQb83x2u61z8TXukFV
followed by these errors
-
https://privatebin.net/?69a50b71bb5150d4#7mENyTVXz6qBsCjgk9ZYyssoPMTGmii2KwfYV3dju6Gm
-
https://privatebin.net/?5b45133605fcce00#D3CuhLwiZSEBN3daNwPipN1cZuKSL2eh5k8Kn7XwXHaB
-
https://privatebin.net/?a5fdcbacf99a676a#FVMAMvY4PFrrQJ7bViXrmJBfEhWwvLnVgZw8HmH3Jjde
with any luck something there will be helpful. also worth mentioning I ran that call and it listed everyone in my plex. 3 people are not imported into ombi. All 3 are my family members. my 2 kids which are managed users so they were already not being imported by design. my wife however we created a plex account for her intentionally to replace the managed one she had. she was imported fine until... she wasnt :p
am on windows
4.43.2 being started ala scheduled task. updated a few times in a few days though as releases were made available. at one point to address the admin user being purged bug, then i believe there was another release after that before the current. she could have poofed at any point in there, i wasnt checking unfortunately.
looking at old database backups apparently it happened at 12:00AM on the 21st. unsure if that coincided with 4.43.2 perhaps. maybe i ought to try a roll back and re import. I'm waaaaay too stupid to edit her back in manually without probably blowing the db to bits im sure.
UPDATE: so i downgraded to 4.43.1 and the importer worked fine, brought her back. its something introduced in 4.43.2. disabled plex user cleanup but afraid to roll back up in the meantime just in case it has zero to do with that setting.
from ombi.
Can someone try the new build?
from ombi.
Hey, just tried the new build and the problem is still there. Also still no logs.
![image](https://private-user-images.githubusercontent.com/90959322/256865115-3353e060-1718-483e-8d83-77dcd56702c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczOTAxNjMsIm5iZiI6MTcxNzM4OTg2MywicGF0aCI6Ii85MDk1OTMyMi8yNTY4NjUxMTUtMzM1M2UwNjAtMTcxOC00ODNlLThkODMtNzdkY2Q1NjcwMmMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAzVDA0NDQyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJiZjliNWYyMGVmOThhZTEyMDc5ODc4Mzc0MWM2MTRiZjIzOGJlOWI3YmQ4YmM4NGVmNzRmNzZhYTRkNjJiOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LCPoxvFwMXIsxyk35ifgSDr2v7z-4a94Bw8ZaKwrMpw)
from ombi.
@klepp0906 are you able to send me the output from the API call?
from ombi.
sure, sent it over in disc
from ombi.
Ok, found the issue.
The Plex API can report users as "Home" users if they were a pure home user and then converted to a non-managed account.
I recently added a check to not add home users by checking the HomeUser
attribute from the API, thinking that it would only be true for pure home users.
I've now removed that check and it will all work as it previously did.
from ombi.
Hey @tidusjar, I can confirm that it works, I'll close the issue. Thank you very much!
from ombi.
Related Issues (20)
- Mobile App not working HOT 1
- Cannot send welcome email HOT 2
- iOS app reports wrong server version. HOT 10
- Exception When Caching Emby for Server HOT 1
- Requests showing incorrect/different time than host machine HOT 1
- A typo and a missing picture on the website
- Emby Login not working in 4.8.3
- Fail to contact API with Traefik and Authentik HOT 2
- Ombi Newsletter failing to show TV Shows
- App (iOS & Android) crashes when selecting all episodes via "Select Season" in season on request HOT 3
- Will not send shows to sonarr unless selecting advanced options HOT 4
- High CPU usage during hourly sync tasks HOT 2
- Plex User Import stopped working. HOT 8
- Missing arm64 develop artifact HOT 2
- Push Notifications HOT 1
- auto create account with SSO, email ? HOT 4
- checkbox series HOT 1
- date format mail notifications HOT 2
- Ombi slow after mysql migration HOT 1
- IOS Apps - SQL improvements for better performance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ombi.