YunoHost-Apps / gotosocial_ynh

GoToSocial package for YunoHost: an ActivityPub social network server, written in Golang.
https://gotosocial.org
Other
10 stars 5 forks source link

update to 0.9 failed #84

Closed xmgz closed 1 year ago

xmgz commented 1 year ago

Currently in gts 0.8.1-ynh, installed on up to date YNH server in rasPi 4

two diferent issues? unrelated?

FULL LOG

2023-05-25 11:15:49,723: DEBUG - + out='Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2023-05-25 11:15:49,724: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2023-05-25 11:15:49,724: DEBUG - https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0linux_arm64.tar.gz:
2023-05-25 11:15:49,725: DEBUG - 2023-05-25 11:15:49 ERROR 404: Not Found.'
2023-05-25 11:15:49,725: DEBUG - + ynh_die '--message=Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2023-05-25 11:15:49,725: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2023-05-25 11:15:49,725: DEBUG - https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0linux_arm64.tar.gz:
2023-05-25 11:15:49,726: DEBUG - 2023-05-25 11:15:49 ERROR 404: Not Found.'
2023-05-25 11:15:49,728: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2023-05-25 11:15:49,729: DEBUG - https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0linux_arm64.tar.gz:
2023-05-25 11:15:49,729: DEBUG - 2023-05-25 11:15:49 ERROR 404: Not Found.'
2023-05-25 11:15:49,771: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2023-05-25 11:15:49,772: DEBUG - https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0linux_arm64.tar.gz:
2023-05-25 11:15:49,772: DEBUG - 2023-05-25 11:15:49 ERROR 404: Not Found.'
2023-05-25 11:15:49,773: DEBUG - + ynh_exit_properly
2023-05-25 11:15:49,783: WARNING - Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2023-05-25 11:15:49,785: WARNING - ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.

and

2023-05-25 11:17:09,879: DEBUG - 51003 Wi-Fi is currently blocked by rfkill.
2023-05-25 11:17:09,882: DEBUG - 51006 Use raspi-config to set the country before use.
2023-05-25 11:17:09,883: DEBUG - 51007
2023-05-25 11:17:10,036: WARNING - 51159 ERROR:  syntax error at or near "Wi"
2023-05-25 11:17:10,038: WARNING - 51161 LINE 1: Wi-Fi is currently blocked by rfkill.
2023-05-25 11:17:10,040: WARNING - 51161 

later seems a problem with "-" in Wi-Fi when update script is run

thank you!

OniriCorpe commented 1 year ago

hi!

for the first error, it was a typo in the file URL, it will be fixed in the next package version (currently in testing branch)

for the other error, honestly I don't know at first sight it has no relation with the upgrade script, it's not coherent maybe config your wifi accordingly to this Use raspi-config to set the country before use. will make these messages go away