Replies: 1 comment 5 replies
-
I updated and the web ui would not load due to this change. Currently I'm not able (well, might be able, but that is not the point, to do all the needed steps needed to file a bug report). I understand the requirements for filing a bug report, but not everyone all the time is able to perform the exercise of a clean install and reproduction...) I updated from 3.0.9 to 3.1.0 via the web ui (as I've done for the last several updates). After update I was getting a RASPI_RESTAPI_ENABLED not defined and the ui would not reload properly. The UI would still not load. However, the wireless access point was working. I don't want to reinstall and start clean so I backed up --- ./html/includes/sidebar.php 2024-03-14 10:21:50.299094550 -0500
+++ /var/www/html/includes/sidebar.php 2024-03-14 13:53:29.398091498 -0500
@@ -80,11 +80,6 @@
<a class="nav-link" href="data_use"><i class="fas fa-chart-bar fa-fw mr-2"></i><span class="nav-label"><?php echo _("Data usage"); ?></a>
</li>
<?php endif; ?>
- <?php if (RASPI_RESTAPI_ENABLED) : ?>
- <li class="nav-item">
- <a class="nav-link" href="restapi_conf"><i class="fas fa-puzzle-piece mr-2"></i><span class="nav-label"><?php echo _("RestAPI"); ?></a>
- </li>
- <?php endif; ?>
<?php if (RASPI_SYSTEM_ENABLED) : ?>
<li class="nav-item">
<a class="nav-link" href="system_info"><i class="fas fa-cube fa-fw mr-2"></i><span class="nav-label"><?php echo _("System"); ?></a>
I rebooted and the UI will now load. I'm running Debian Bookworm (fully up to date) and nothing else other than what is needed for RaspAP in the VM. $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/" |
Beta Was this translation helpful? Give feedback.
-
To celebrate the rollout of our new RestAPI (and also acknowledge Pi Day) we’re hosting a friendly challenge to see what kinds of applications developers can create with our brand new API.
We're announcing it here a day early on GitHub discussions, so visitors to our repo can get a head start.
Details are here: https://medium.com/@raspap/restful-api-challenge-e693e305321f
Beta Was this translation helpful? Give feedback.
All reactions