Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Update to 3.5.11 results in "502 Bad Gateway"

I tried to update our JATOS installation by clicking the corresponding button on the admin GUI.

However, it results in a "502 Bad Gateway" and the service crashes. I'vr tried this a couple of times now. Restarting JATOS starts up the old version again.

Has it occured for anyone else? Does anyone know a solution?

Thanks in advance!

-Yavor

Comments

  • Hi Yavor!

    My updates worked so far. What do JATOS' logs say? In the log folder are several log files, application.log, update.log, loader.log. Are there any errors regarding the update?

    Best

    Kristian

    Buy Me A Coffee

  • Dear Kristian,

    Thanks for the quick reply! I checked the logs. I think application.log had the right information. Sadly I am still not sure how to resolve it. For example, after initiating the update I get:

    2021-04-08 11:51:49,441 [INFO] - gui_access - GET /jatos/updateAndRestart?backupAll=true (admin)

    2021-04-08 11:51:49,442 [INFO] - g.c.JatosUpdater - Restart JATOS to finish update to version v3.5.11

    2021-04-08 11:51:49,482 [ERROR] - g.ErrorHandler - Internal JATOS error

    java.lang.IllegalStateException: cannot create children while terminating or terminated


    I've attached a longer version of this as a txt file. Any help will be much appreciated!

    -Yavor

  • Interesting: this error states a permission problem: java.lang.IllegalStateException: cannot create children while terminating or terminated

    Which OS are you on? How do you run JATOS (docker, systemd, proxy)? What are your JATOS users permissions?

    Best,

    Kristian

    Buy Me A Coffee

  • Our JATOS install is running on a Linux-based VM handled by the univeristy's IT team. The IT guys installed it following the documentation, so I'm not sure how we're running it. Since I can use the "systemctl restart" command, I think were' using systemd.

    The user that I'm trying to update from is the admin user.

  • Hi Yavor,

    I checked your errors again and it's likely not a permission problem - I jumped to a conclusion there. It's more of a problem in JATOS that it can't correctly shutdown (for unknown reasons).

    Since you can run `systemctl restart` I assume you have terminal access to the server. What happens if you start the update process manually with

    ./loader.sh update
    

    (but please do a backup before you try it).

    Best,

    Kristian

    Buy Me A Coffee

  • Hi Kristian,

    Thanks for the reply! This Thursday I will try what you suggested and write a status update here.

    - Yavor

  • Hi Kristian,

    I tried this, and it gives me this error:

    Thu Apr 15 13:10:17 CEST 2021 JATOS didn't shut down. Cannot update. Exit.

    Could it be that I'm trying to update from 3.5.5. all the way to 3.5.11?

    -Yavor

  • Another update

    After the unsucessful update today it was no longer possible to upload new studies. (an error 500)

    I tried restarting the service, and now it's stuck at "502 Bad Gateway". Manually starting and stopping it also doesn't work...

  • Hi Yavor,

    At this point I'd recommend to recover your old 3.5.5 from your backup and do a manual update. Although I'm quite curious what's causing the problems, without direct access to the server I can't say much.

    Best,

    Kristian

    Buy Me A Coffee

  • Hi Kristian,

    Our JATOS is back up. It was most likely due to lack of storage space!

    We're upgrading it, and then we'll try the update again. Thanks for your effort responding on these forums!

    -Yavor

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games