Coder Social home page Coder Social logo

Comments (8)

MichaelDvP avatar MichaelDvP commented on July 2, 2024 2

I can confirm that the web navigation is broken. API/mqtt still working. @proddy You should remove the bin, otherwise more people run into this issue.

@K3vb3rt :For uploading firmware see https://emsesp.github.io/docs/Getting-Started/#uploading-the-firmware
If OTA is enabled, (you can check with http://ems-esp.local/api/system) you can use espota. otherwise you'll need usb flashing.

@proddy For such a case it would be nice to go back to old version by booting to other partition (if not empty). We can add a option to telnet restart command restart and restart old and/or use button long-pressed. But i think telnet is ok, we can use serial console if wifi is also broken.

from ems-esp32.

proddy avatar proddy commented on July 2, 2024 1

should be fixed now, sorry about that. I should have tested better. Good job you had an older version of the firmware. I'll create a new issue for the fall-back partition.

from ems-esp32.

proddy avatar proddy commented on July 2, 2024

Thanks for reporting; I'll take a look. probably the redirect to index.html in that last update I did

from ems-esp32.

K3vb3rt avatar K3vb3rt commented on July 2, 2024

Same problem on my side. Not able to load the interface, but MQTT works as expected.

Any manual possibility to get to the interface to do a downgrade?

from ems-esp32.

proddy avatar proddy commented on July 2, 2024

I already removed the release and will fix the broken build this week when I'm home. A fallback to the previous build on the other partition is good - how could we easily add this? Perhaps a script?

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on July 2, 2024

I thought of a simple extension to the restart command, like:

void System::system_restart(const bool other_partition) {
    if (other_partition) {
        LOG_INFO("Restarting EMS-ESP to other partition...");
    } else {
        LOG_INFO("Restarting EMS-ESP...");
    }
    Shell::loop_all();
    delay(1000); // wait a second
#ifndef EMSESP_STANDALONE
    if (other_partition) {
        const esp_partition_t * partition = esp_ota_get_next_update_partition(NULL);
        if (partition) {
            uint64_t buffer;
            esp_partition_read(partition, 0, &buffer, 8);
            if (buffer != 0xFFFFFFFFFFFFFFFF) { // partition not empty
                esp_ota_set_boot_partition(partition);
            }
        }
    }
    ESP.restart();
#endif
}

Works already in restart_service for the boot to loader (with find of factory partiton)
I'll make a PR.

from ems-esp32.

K3vb3rt avatar K3vb3rt commented on July 2, 2024

I can confirm that the web navigation is broken. API/mqtt still working. @proddy You should remove the bin, otherwise more people run into this issue.

@K3vb3rt :For uploading firmware see https://emsesp.github.io/docs/Getting-Started/#uploading-the-firmware If OTA is enabled, (you can check with http://ems-esp.local/api/system) you can use espota. otherwise you'll need usb flashing.

I can confirm that the web navigation is broken. API/mqtt still working. @proddy You should remove the bin, otherwise more people run into this issue.

@K3vb3rt :For uploading firmware see https://emsesp.github.io/docs/Getting-Started/#uploading-the-firmware If OTA is enabled, (you can check with http://ems-esp.local/api/system) you can use espota. otherwise you'll need usb flashing.

@proddy For such a case it would be nice to go back to old version by booting to other partition (if not empty). We can add a option to telnet restart command restart and restart old and/or use button long-pressed. But i think telnet is ok, we can use serial console if wifi is also broken.

Thank you so much! Downgraded via USB with ESP-Tool to latest official.

from ems-esp32.

proddy avatar proddy commented on July 2, 2024

IMPORTANT

If you were unlucky enough to grab the 3.6.5-dev17 build in the last 24hrs, it had a horrible bug preventing the Web UI from loading in the browser. Luckily it's now been fixed., but you're left with a version of EMS-ESP you can't easily upgrade.

These are the options to get it back operational:

following any of these two options above will not erase your settings.

My sincere apologies for any pain caused. It was a rush job on my side and I should be taken more time to thoroughly test.

Paul

from ems-esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.