Docker container running but not accessible

Hi, first of all sorry if i’m in the wrong topic, didn’t find any “help” topic !
I’ve used Docker for not that long so I don’t really understand many of it, but I created several containers that are working fine. The thing is there are two of them (Jackett and Ngix Proxy Manager) that aren’t accessible (via a web browser and the good IP+port combo) after my server’s startup.
In fact, when I go to Portainer I see them as “running” but I can never reach them. For NGINX I have to manually restart the container after startup but for Jackett nothing I do works…
Does anyone have any idea where this problem could come from ?
PS : for all my containers the restart policy is “unless stopped” and I use Docker on Ubuntu Server 22.04. To install the not-so-working containers I just used the docker-compose text given by the developers and modified put the /config and /data and all on dedicated files I created in my home directory
Thanks in advance !

Almost every topic is a “help” topic, but the general discussion is fine too, although you can’t mark a post as “solved” here.

It would help if you could share more information about the containers preferably from the terminal, as Portainer is an other layer which also confuses us sometimes.

If the container is really running you should be able to access it. If you need to restart it, that must be in a state in which the container itself might be running but not the expected way. So sharing some logs could bring us closer to the problem. Do you have any container logs?

Okay I found the logs for both Jackett and NGINX Proxy Manager ! As you can see for NPM I restarted it at 7:45:13 AM and now it works fine. Maybe just for Nginx I could create a command that would execute at my server startup and that would restart NPM automatically ?
For jackett though I really don’t know what to do…
Since I can’t upload attachments here are the logs for NPM :

-------------------------------------
 _   _ ____  __  __
| \ | |  _ \|  \/  |
|  \| | |_) | |\/| |
| |\  |  __/| |  | |
|_| \_|_|   |_|  |_|
-------------------------------------
s6-rc: info: service prepare successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service frontend: starting
s6-rc: info: service backend: starting
s6-rc: info: service backend successfully started
s6-rc: info: service nginx successfully started
s6-rc: info: service frontend successfully started
s6-rc: info: service legacy-services: starting
❯ Starting backend ...
❯ Starting nginx ...
s6-rc: info: service legacy-services successfully started
[4/10/2023] [7:44:43 AM] [Global   ] › ℹ  info      No valid environment variables for database provided, using default SQLite file '/data/database.sqlite'
[4/10/2023] [7:44:57 AM] [Migrate  ] › ℹ  info      Current database version: none
[4/10/2023] [7:44:57 AM] [Setup    ] › ℹ  info      Logrotate Timer initialized
[4/10/2023] [7:44:57 AM] [Setup    ] › ℹ  info      Logrotate completed.
[4/10/2023] [7:44:57 AM] [IP Ranges] › ℹ  info      Fetching IP Ranges from online services...
[4/10/2023] [7:44:57 AM] [IP Ranges] › ℹ  info      Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[4/10/2023] [7:44:58 AM] [IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v4
[4/10/2023] [7:44:58 AM] [IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v6
[4/10/2023] [7:44:58 AM] [SSL      ] › ℹ  info      Let's Encrypt Renewal Timer initialized
[4/10/2023] [7:44:58 AM] [SSL      ] › ℹ  info      Renewing SSL certs close to expiry...
[4/10/2023] [7:44:58 AM] [IP Ranges] › ℹ  info      IP Ranges Renewal Timer initialized
[4/10/2023] [7:44:58 AM] [Global   ] › ℹ  info      Backend PID 111 listening on port 3000 ...
[4/10/2023] [7:45:13 AM] [Nginx    ] › ℹ  info      Reloading Nginx
[4/10/2023] [7:45:13 AM] [SSL      ] › ℹ  info      Renew Complete
[4/10/2023] [7:45:43 AM] [Express  ] › ⚠  warning   invalid signature

and for Jackett :

      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
04-10 07:38:35 Info Starting Jackett v0.20.3846 
04-10 07:38:49 Info Environment version: 6.0.15 (/app/Jackett/) 
04-10 07:38:49 Info OS version: Unix 5.15.0.69 (64bit OS) (64bit process) 
04-10 07:38:49 Info Jackett variant: CoreLinuxMuslAmdx64 
04-10 07:38:49 Info File /etc/issue: Welcome to Alpine Linux 3.17 
04-10 07:38:49 Info Running in Docker: Yes (image build: v0.20.3846-ls101) 
04-10 07:38:49 Info ThreadPool MaxThreads: 32767 workerThreads, 1000 completionPortThreads 
04-10 07:38:49 Info App config/log directory: /config/Jackett 
04-10 07:38:49 Info Using proxy: Disabled 
04-10 07:38:49 Info Using FlareSolverr: http://192.168.1.31:8191 
04-10 07:38:49 Info Using HTTP Client: HttpWebClient2 
04-10 07:38:50 Info Loading Native indexers ... 
04-10 07:38:50 Info Loaded 77 Native indexers: alpharatio, anidex, anidub, animebytes, animetorrents, aro, audiobookbay, avistaz, bakabt, beyond-hd-api, bithdtv, bjshare, brasiltracker, broadcasthenet, brokenstones, cgpeers, cinecalidad, cinemaz, darmowetorenty, dicmusic, divxtotal, dontorrent, epublibre, erai-raws, exoticaz, filelist, funfile, gazellegames, gazellegamesapi, greatposterwall, hdbitsapi, hdspace, hdtorrents, ianon, immortalseed, iptorrents, libble, lostfilm, magnetico, mejortorrent, myanonamouse, ncore, nebulanceapi, norbits, orpheus, passthepopcorn, piratethenet, pixelhd, pornolab, pretome, privatehd, rarbg, redacted, retroflix, revolutiontt, rutracker, scenehd, scenetime, secretcinema, sharewoodapi, shazbat, speedapp, speedcd, subsplease, toloka, torrentbytes, torrentday, torrentheaven, torrentnetwork, torrentscsv, torrentsyndikat, tvstore, uniotaku, xspeeds, zonaq, animetosho, morethantv-api 
04-10 07:38:51 Info Loading Cardigann indexers from: /config/cardigann/definitions/, /etc/xdg/cardigan/definitions/, /app/Jackett/Definitions 
04-10 07:39:10 Info Loaded 493 Cardigann indexers: bwtorrents, satclubbing, lesaloon, tapochek, abtorrents, bithumen, thesceneplace, acidlounge, cathoderaytube, crackingpatching, fuzer, zomb, newstudiol, pthome, theleachzone, 52pt, mesevilag, torrentv, kickasstorrents-to, freshmeat, chilebt, locadora, indietorrents, tasmanit, arabtorrents, torrentby, anime-free, torrentccf, megamixtracker, bulltorrent, torrentcore, torrent9, putao, torrentsectorcrew, metaltracker, mma-torrents, snowpt, keepfriends, torrentseeds-api, p2pbg, mojblink, hdonly, fanoin, booktracker, hdtorrentsit, arabafenice, bitturk, theoccult, limetorrents, jav-torrent, kinorun, newretro, comicat, hddolby, hawke-uno, gay-torrents, soulvoice, dreamtracker, btnext, hdturk, moviesdvdr, vsttorrents, lst, learnbits, thevault, digitalcore, 0magnet, 1ptbar, kinozal, pwtorrents, ydypt, unionfansub, polishtracker-api, unleashthecartoons, teamctgame, kickasstorrents-ws, exttorrents, byrutor, 4thd, genesismovement, lat-team-api, carphunter, teamhd, eniahd, finvip, magico, the-crazy-ones, mteamtp2fa, torrent9clone, glodls, arabp2p, ex-torrenty, danishbytes-api, hdgalaktik, generationfree-api, xtorrenty, proporno, myspleen, sharkpt, shanaproject, torrentsir, polishsource, aidoruonline, les-cinephiles, nntt, tekno3d, xiteme, nipponsei, bitru, theplace, datatalli, pixelcove2fa, theshinning-api, mikan, skipthecommercials-api, seedoff, wihd, blutopia-api, immortuos, torrentfunk, chdbits, hdatmos, sdbits, mypornclub, torrenthr, ourbits, sugoimusic, miobt, hebits, uhdbits, totallykids, ceskeforum, skipthetrailers, ebookbay, yggcookie, nyaasi, catorrent, hdfans, itorrent, aither-api, rutracker-ru, falkonvisionteam, girotorrent, hdmayi, mircrew, tvchaosuk, bitsearch, turktorrent, trancetraffic, jptv, trezzor, joyhd, bt4g, gaytorrentru, desitorrents-api, proaudiotorrents, muziekfabriek, torrentkitty, torrent-turk, teracod, trupornolabs, resurrectthenet, pier720, femdomcult, cartoonchaos, xwtclassics, redstartorrent, torrent-pirat, world-of-tomorrow, eztv, xxxtor, megapeer, sosulki, borgzelle, reelflix-api, nextjav, bigfangroup, gay-torrentsorg, jme-reunit3d-api, showrss, rptorrents, cinemageddon, greekteam, movietorrent, beyond-hd, hdchina, onejav, vsthouse, btdigg, fluxzone, isohunt2, mazepa, losslessclub, xxxadulttorrent, bithorlo, majomparade, ptfiles, divteam, rintor, jpopsuki, concen, siambit, anisource, speedtorrentreloaded, hdforever, elitetorrent-pl, anilibria, hdhome, hqmusic, asiancinema, badasstorrents, btsow, sportscult, gigatorrents, finelite, pornbay, u2, filelisting, dxp, torrentoyunindir, ccfbits, unlimitz, noname-club, acgrip, uniondht, tjupt, parnuxi, greekdiamond, lepornoinfo, abnormal, xxxclub, puntotorrent, gktorrent, torrentgalaxy, sharewood, empornium, torrentlt, bluebirdhd, cinematik, torlock, slosoul, extremetorrents, mteamtp, libranet, estone, animeworld-api, crt2fa, tokyotosho, uniongang, xwtorrents, linkomanija, newstudio, scenerush, Bittorrentfiles, btmet, vtorrent, rudub, xbytesv2, electro-torrent, theshow, 3changtrai, haidan, torrentleech, torrentland, hellashut, krazyzone, torrentleech-pl, racingforme, yts, concertos, carpathians, thenewfun, happyfappy, firebit, tvroad, brsociety-api, byrbt, rgfootball, kamept, audionews, lightning-tor, RockBox, yggtorrent, turkseed, thefallingangels, mvgroupmain, empornium2fa, potuk, hdzone, boxingtorrents, torrentmasters, crazyspirits, tornado, thepiratebay, broadcity, esharenet, hdc, piratbitl, pignetwork, beitai, aftershock, ilcorsaronero, shareisland-api, torrenting, traht, mnv, acervos, torrent911, dimeadozen, pussytorrents, magicheaven, sporthd, sukebeinyaasi, ptsbao, devil-torrents, thedarkcommunity, torrentdownload, leech24, marinetracker, deildu, extremebits, bangumi-moe, swarmazon-api, classix, romanianmetaltorrents, mvgroupforum, spiritofrevolution, oshenpt, torrentview, gainbound, bitbazis, portugas-api, oldtoonsworld, hdcztorrent, lemonhd, rapidzona, zetorrents, whiteangel, pornotorrent, pttime, hd-unit3d-api, kufirc, bitsexy, themixingbowl, springsunday, torrentz2nz, discfan, hdsky, file-tracker, acgsou, fenyarnyek-tracker, demonoid, yourbittorrent, animetracker, idope, noname-clubl, sktorrent-org, ehentai, diablotorrent, funkytorrents, acrossthetasman, mousebits, ebooks-shares, riperam, ptchina, tmghub, movietorrentz, aussierules, zelkaorg, redbits-api, peeratiko, helltorrents, houseofdevil, seedfile, rintornet, pornoslab, ftuapps, rutor, piratbit, 3dtorrents, ilcorsaroblu, bitded, racing4everyone-api, superbits, mactorrentsdownload, hhanclub, thorsland, torrentz2eu, tlfbits, twilight, animelayer, insanetracker, icc2022, gamestorrents, aniRena, madsrevolution, exkinoray, rainbowtracker, amigosshare, knaben, selezen, cinemamovies, dmhy, learnflakes, haitang, torrentdownloads, puurhollands, 2xfree, bitspyder, karagarga, bitofvalor, hdolimpo-api, spidertk, crazyhd, backups, xtremebytes, torrentproject2, xthor-api, bootytape, pctorrent, tribalmixes, torrentslocal, arenabg, nicept, teamos, coastalcrew, torrentwhiz, extratorrent-st, hdu, theoldschool-api, peersfm, bibliotik, rustorka, torrentbd, hdroute, lastfiles, limetorrentsclone, docspedia, btetree, hd4fans, partis, fantastiko, frozenlayer, mixtapetorrent, theempire, r3vwtf, pterclub, zmpt, extremlymtorrents, torrentqq, 1337x, linuxtracker, korsar, nethd, 0daykiev, totheglory, sktorrent, asiandvdclub, cpasbien, tellytorrent-api, hdarea, datascene-api, hdtime, bitnova, bestcore, rus-media, xxxtorrents, fantasticheaven, 2fast4you, thegeeks, totheglorycookie, huntorrent, crnaberza, zamundanet, hdmonkey, gtorrentpro, speedmasterhd, opencd, solidtorrents, carpt, audiences, internetarchive, torrent-explosiv, anthelion-api, cpasbienclone, gimmepeers, moviesite, milkie, sexypics, punkshorror, btschool, pixelcove, ztracker 
04-10 07:39:10 Info Loaded 570 indexers in total 
04-10 07:39:10 Info Adding aggregate indexer ('all' indexer) ... 
04-10 07:39:10 Info Adding filter indexer ('type:public' indexer) ... 
04-10 07:39:10 Info Adding filter indexer ('type:private' indexer) ... 
04-10 07:39:10 Info Adding filter indexer ('type:semi-public' indexer) ... 
04-10 07:39:12 Info Jackett startup finished in 57.529 s 
Hosting environment: Production
Content root path: /app/Jackett/Content
Now listening on: http://[::]:9117
Application started. Press Ctrl+C to shut down.
[ls.io-init] done.
Application is shutting down...
04-10 07:45:27 Info Jackett stopped 
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
04-10 07:45:35 Info Starting Jackett v0.20.3846 
04-10 07:45:36 Info Environment version: 6.0.15 (/app/Jackett/) 
04-10 07:45:36 Info OS version: Unix 5.15.0.69 (64bit OS) (64bit process) 
04-10 07:45:36 Info Jackett variant: CoreLinuxMuslAmdx64 
04-10 07:45:36 Info File /etc/issue: Welcome to Alpine Linux 3.17 
04-10 07:45:36 Info Running in Docker: Yes (image build: v0.20.3846-ls101) 
04-10 07:45:36 Info ThreadPool MaxThreads: 32767 workerThreads, 1000 completionPortThreads 
04-10 07:45:36 Info App config/log directory: /config/Jackett 
04-10 07:45:36 Info Using proxy: Disabled 
04-10 07:45:36 Info Using FlareSolverr: http://192.168.1.31:8191 
04-10 07:45:36 Info Using HTTP Client: HttpWebClient2 
04-10 07:45:36 Info Loading Native indexers ... 
04-10 07:45:36 Info Loaded 77 Native indexers: alpharatio, anidex, anidub, animebytes, animetorrents, aro, audiobookbay, avistaz, bakabt, beyond-hd-api, bithdtv, bjshare, brasiltracker, broadcasthenet, brokenstones, cgpeers, cinecalidad, cinemaz, darmowetorenty, dicmusic, divxtotal, dontorrent, epublibre, erai-raws, exoticaz, filelist, funfile, gazellegames, gazellegamesapi, greatposterwall, hdbitsapi, hdspace, hdtorrents, ianon, immortalseed, iptorrents, libble, lostfilm, magnetico, mejortorrent, myanonamouse, ncore, nebulanceapi, norbits, orpheus, passthepopcorn, piratethenet, pixelhd, pornolab, pretome, privatehd, rarbg, redacted, retroflix, revolutiontt, rutracker, scenehd, scenetime, secretcinema, sharewoodapi, shazbat, speedapp, speedcd, subsplease, toloka, torrentbytes, torrentday, torrentheaven, torrentnetwork, torrentscsv, torrentsyndikat, tvstore, uniotaku, xspeeds, zonaq, animetosho, morethantv-api 
04-10 07:45:36 Info Loading Cardigann indexers from: /config/cardigann/definitions/, /etc/xdg/cardigan/definitions/, /app/Jackett/Definitions 
04-10 07:45:38 Info Loaded 493 Cardigann indexers: bwtorrents, satclubbing, lesaloon, tapochek, abtorrents, bithumen, thesceneplace, acidlounge, cathoderaytube, crackingpatching, fuzer, zomb, newstudiol, pthome, theleachzone, 52pt, mesevilag, torrentv, kickasstorrents-to, freshmeat, chilebt, locadora, indietorrents, tasmanit, arabtorrents, torrentby, anime-free, torrentccf, megamixtracker, bulltorrent, torrentcore, torrent9, putao, torrentsectorcrew, metaltracker, mma-torrents, snowpt, keepfriends, torrentseeds-api, p2pbg, mojblink, hdonly, fanoin, booktracker, hdtorrentsit, arabafenice, bitturk, theoccult, limetorrents, jav-torrent, kinorun, newretro, comicat, hddolby, hawke-uno, gay-torrents, soulvoice, dreamtracker, btnext, hdturk, moviesdvdr, vsttorrents, lst, learnbits, thevault, digitalcore, 0magnet, 1ptbar, kinozal, pwtorrents, ydypt, unionfansub, polishtracker-api, unleashthecartoons, teamctgame, kickasstorrents-ws, exttorrents, byrutor, 4thd, genesismovement, lat-team-api, carphunter, teamhd, eniahd, finvip, magico, the-crazy-ones, mteamtp2fa, torrent9clone, glodls, arabp2p, ex-torrenty, danishbytes-api, hdgalaktik, generationfree-api, xtorrenty, proporno, myspleen, sharkpt, shanaproject, torrentsir, polishsource, aidoruonline, les-cinephiles, nntt, tekno3d, xiteme, nipponsei, bitru, theplace, datatalli, pixelcove2fa, theshinning-api, mikan, skipthecommercials-api, seedoff, wihd, blutopia-api, immortuos, torrentfunk, chdbits, hdatmos, sdbits, mypornclub, torrenthr, ourbits, sugoimusic, miobt, hebits, uhdbits, totallykids, ceskeforum, skipthetrailers, ebookbay, yggcookie, nyaasi, catorrent, hdfans, itorrent, aither-api, rutracker-ru, falkonvisionteam, girotorrent, hdmayi, mircrew, tvchaosuk, bitsearch, turktorrent, trancetraffic, jptv, trezzor, joyhd, bt4g, gaytorrentru, desitorrents-api, proaudiotorrents, muziekfabriek, torrentkitty, torrent-turk, teracod, trupornolabs, resurrectthenet, pier720, femdomcult, cartoonchaos, xwtclassics, redstartorrent, torrent-pirat, world-of-tomorrow, eztv, xxxtor, megapeer, sosulki, borgzelle, reelflix-api, nextjav, bigfangroup, gay-torrentsorg, jme-reunit3d-api, showrss, rptorrents, cinemageddon, greekteam, movietorrent, beyond-hd, hdchina, onejav, vsthouse, btdigg, fluxzone, isohunt2, mazepa, losslessclub, xxxadulttorrent, bithorlo, majomparade, ptfiles, divteam, rintor, jpopsuki, concen, siambit, anisource, speedtorrentreloaded, hdforever, elitetorrent-pl, anilibria, hdhome, hqmusic, asiancinema, badasstorrents, btsow, sportscult, gigatorrents, finelite, pornbay, u2, filelisting, dxp, torrentoyunindir, ccfbits, unlimitz, noname-club, acgrip, uniondht, tjupt, parnuxi, greekdiamond, lepornoinfo, abnormal, xxxclub, puntotorrent, gktorrent, torrentgalaxy, sharewood, empornium, torrentlt, bluebirdhd, cinematik, torlock, slosoul, extremetorrents, mteamtp, libranet, estone, animeworld-api, crt2fa, tokyotosho, uniongang, xwtorrents, linkomanija, newstudio, scenerush, Bittorrentfiles, btmet, vtorrent, rudub, xbytesv2, electro-torrent, theshow, 3changtrai, haidan, torrentleech, torrentland, hellashut, krazyzone, torrentleech-pl, racingforme, yts, concertos, carpathians, thenewfun, happyfappy, firebit, tvroad, brsociety-api, byrbt, rgfootball, kamept, audionews, lightning-tor, RockBox, yggtorrent, turkseed, thefallingangels, mvgroupmain, empornium2fa, potuk, hdzone, boxingtorrents, torrentmasters, crazyspirits, tornado, thepiratebay, broadcity, esharenet, hdc, piratbitl, pignetwork, beitai, aftershock, ilcorsaronero, shareisland-api, torrenting, traht, mnv, acervos, torrent911, dimeadozen, pussytorrents, magicheaven, sporthd, sukebeinyaasi, ptsbao, devil-torrents, thedarkcommunity, torrentdownload, leech24, marinetracker, deildu, extremebits, bangumi-moe, swarmazon-api, classix, romanianmetaltorrents, mvgroupforum, spiritofrevolution, oshenpt, torrentview, gainbound, bitbazis, portugas-api, oldtoonsworld, hdcztorrent, lemonhd, rapidzona, zetorrents, whiteangel, pornotorrent, pttime, hd-unit3d-api, kufirc, bitsexy, themixingbowl, springsunday, torrentz2nz, discfan, hdsky, file-tracker, acgsou, fenyarnyek-tracker, demonoid, yourbittorrent, animetracker, idope, noname-clubl, sktorrent-org, ehentai, diablotorrent, funkytorrents, acrossthetasman, mousebits, ebooks-shares, riperam, ptchina, tmghub, movietorrentz, aussierules, zelkaorg, redbits-api, peeratiko, helltorrents, houseofdevil, seedfile, rintornet, pornoslab, ftuapps, rutor, piratbit, 3dtorrents, ilcorsaroblu, bitded, racing4everyone-api, superbits, mactorrentsdownload, hhanclub, thorsland, torrentz2eu, tlfbits, twilight, animelayer, insanetracker, icc2022, gamestorrents, aniRena, madsrevolution, exkinoray, rainbowtracker, amigosshare, knaben, selezen, cinemamovies, dmhy, learnflakes, haitang, torrentdownloads, puurhollands, 2xfree, bitspyder, karagarga, bitofvalor, hdolimpo-api, spidertk, crazyhd, backups, xtremebytes, torrentproject2, xthor-api, bootytape, pctorrent, tribalmixes, torrentslocal, arenabg, nicept, teamos, coastalcrew, torrentwhiz, extratorrent-st, hdu, theoldschool-api, peersfm, bibliotik, rustorka, torrentbd, hdroute, lastfiles, limetorrentsclone, docspedia, btetree, hd4fans, partis, fantastiko, frozenlayer, mixtapetorrent, theempire, r3vwtf, pterclub, zmpt, extremlymtorrents, torrentqq, 1337x, linuxtracker, korsar, nethd, 0daykiev, totheglory, sktorrent, asiandvdclub, cpasbien, tellytorrent-api, hdarea, datascene-api, hdtime, bitnova, bestcore, rus-media, xxxtorrents, fantasticheaven, 2fast4you, thegeeks, totheglorycookie, huntorrent, crnaberza, zamundanet, hdmonkey, gtorrentpro, speedmasterhd, opencd, solidtorrents, carpt, audiences, internetarchive, torrent-explosiv, anthelion-api, cpasbienclone, gimmepeers, moviesite, milkie, sexypics, punkshorror, btschool, pixelcove, ztracker 
04-10 07:45:38 Info Loaded 570 indexers in total 
04-10 07:45:38 Info Adding aggregate indexer ('all' indexer) ... 
04-10 07:45:38 Info Adding filter indexer ('type:public' indexer) ... 
04-10 07:45:38 Info Adding filter indexer ('type:private' indexer) ... 
04-10 07:45:38 Info Adding filter indexer ('type:semi-public' indexer) ... 
04-10 07:45:38 Info Jackett startup finished in 3.405 s 
Hosting environment: Production
Content root path: /app/Jackett/Content
Now listening on: http://[::]:9117
Application started. Press Ctrl+C to shut down.
[ls.io-init] done.

Please share the exact content of your compose file.

Just to be sure: you do use docker compose up -d to deploy the compose project, right?

I used docker compose up -d for Jackett and manually installed NPM with Portainer following this tutorial. Here is the file I used for Jackett :


---
version: "2.1"
services:
  jackett:
    image: lscr.io/linuxserver/jackett:latest
    container_name: Jackett
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - AUTO_UPDATE=true
    volumes:
      - /home/louise/docker/Jackett/config:/config
      - /home/louise/docker/Jackett/downloads:/downloads
    ports:
      - 9117:9117
    restart: unless-stopped

But honestly whether I installed these containers with docker compose or manually in Portainer I always had this weird problem of them running but not being accessible :sweat_smile:

The compose file does nothing fancy, so indeed if the application inside the container is running, it should be reachable from the host ip/name and published port. The service restart in the logs you shared earlier looks suspicous: the was no error indication, just that it was shut down, and then restarted again. Not sure if it realy is a problem or just you stopping the container from a terminal.

The compose file provides no indication about how you handle the npm to jackett communication. Normally I would expect npm and jackett to share a container network and npm to use http://jackett:9117 as upstream for the reverse proxy rule. So I assume in your scenario they don’t share a container network and you use “http://{docker host ip or host name}:9117” instead? (this is not going to work if npm uses a macvlan network)

Yeah indeed none of my containers share a network (I don’t know how to do that tbh) so I just do IP+port for NPM and it works fine for now ! For the shutdown and restart I thinks that’s me restarting the container in a terminal.
I’ll try to fully uninstall Jackett and its image and to build it back from scratch, see if it works.

No need for that. It should be enough to shut down the container, empty the host side of your volume mappings: /home/louise/docker/Jackett/config and /home/louise/docker/Jackett/downloads, compose up again.

Blockquote No need for that. It should be enough to shut down the container, empty the host side of your volume mappings: /home/louise/docker/Jackett/config and /home/louise/docker/Jackett/downloads , compose up again

Oh well I deleted it all already… Good news : Jackett started properly and I can access it ! I copied back the config file to have everything the way it was and it appears to be working. I’ll just see tomorrow if it starts well with my server and if it does i’ll do the same with NPM !

Well I reinstalled everything but still the same problem, after rebooting my server Jackett and NPM are running but I can’t access 'em. It’s even worse 'cause now even if I restart these containers they still don’t work.

I found this in the logs of NPM :

❯ Configuring npmuser ...

0

usermod: no changes

❯ Checking paths ...

❯ Setting ownership ...

s6-rc: fatal: timed out

s6-sudoc: fatal: unable to get exit status from server: Operation timed out

/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.

I went in /run in the container but can’t find /uncaught-logs/current so I don’t have more info…
Does this issue with s6-rc ring a bell to somebody ?
PS : I recreated the Jackett container and it works fine now, don’t know why.

In the end I just made a script that restarts the container two times (one wasn’t enough) when my server start and it works !