Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

API Call systemGeneralUiRestartGet gives no response

Description

For my deploy scipt too renew a Letsencrypt certificate on TrueNAS/FreeNAS with the acme.sh scipt I use the REST API. Here is my pull request for my scipt.

The last API call in the scipt is to restart the UI. Unfortunately the API call does not return any response. This produces an error when called, CURL_GOT_NOTHING (52) for example with CURL. When I use WGET it's worse, it creates a loop. This loop is tried about 20 times in the standard call of WGET. I can use "wget --tries=1", but the Errorcode (Network failure (4)) comes also. Same for CURL command.

If the API would return an JSON response like "now restarting the UI" and only then does a restart of the UI, the problem would not exist. The API call would end cleanly and no error would be displayed.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Morgan Littlewood April 22, 2021 at 5:23 AM

This bug fix caused issues with previous scripts.

See:  https://www.truenas.com/community/threads/truenas-12-0-u3-is-available.92521/page-3

 

 

Bug Clerk February 22, 2021 at 8:28 AM

Bug Clerk February 18, 2021 at 11:25 AM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Affects versions

Priority

More fields

Katalon Platform

Created February 16, 2021 at 9:46 PM
Updated July 1, 2022 at 5:13 PM
Resolved February 22, 2021 at 2:05 PM