Sunday, December 01, 2024
support@conference.yunohost.org
December
Mon Tue Wed Thu Fri Sat Sun
            1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
         

[15:26:02] <miro5001> https://aria.im/_matrix/media/v1/download/matrix.org/vJexbcEhZvBlRQfEbSXWgxGT
[15:28:02] <miro5001> I am sure this issue has been discussed in the forum but I can't find the discussion. Anyway, I am on mobile, opera browser, yunohost 12.7. I tried refreshing, waiting longer.
[15:32:56] <Aleks (he/him/il/lui)> does it work using another browser ?
[15:53:10] <miro5001> > <@Alekswag:matrix.org> does it work using another browser ?

No, same on chrome
[15:54:35] <Aleks (he/him/il/lui)> in that case, would be cool to open the javascript console with F12 > Console and see if there's any obvious error in there
[15:57:19] <miro5001> On pc, not on mobile. Ok
[16:06:44] <miro5001> https://aria.im/_matrix/media/v1/download/matrix.org/vZPYPMfOIKxdhzMQPYMClRbd
[16:07:03] <miro5001> ```
Refused to load the image 'blob:https://domain/4f946c14-5a35-44a9-befb-8b925253b5cf' because it violates the following Content Security Policy directive: "img-src 'self' data:".

index-DBfQQE4T.js:147 TypeError: Cannot read properties of null (reading '$el')
at s (index-DBfQQE4T.js:147:3770)
at ar (core-DO2AKXU2.js:14:38)
at ut (core-DO2AKXU2.js:14:108)
at HTMLDivElement.n (core-DO2AKXU2.js:18:7550)
(anonymous) @ index-DBfQQE4T.js:147
core-DO2AKXU2.js:14 TypeError: Cannot read properties of null (reading '$el')
at s (index-DBfQQE4T.js:147:3770)
at ar (core-DO2AKXU2.js:14:38)
at ut (core-DO2AKXU2.js:14:108)
at HTMLDivElement.n (core-DO2AKXU2.js:18:7550)
```
[16:07:55] <Aleks (he/him/il/lui)> yummy useful javascript stacktraces
[16:09:32] <beedee> What is the recommended solution for automating an off-site backup of a yunohost box?
[16:09:41] <miro5001> https://aria.im/_matrix/media/v1/download/matrix.org/VNwJvJlUzJnEDNnKWUjGfZFv
[16:09:52] <miro5001> and this is from the portal
[16:10:34] <miro5001> ```
Uncaught TypeError: Cannot read properties of null (reading 'a')
at hasBuiltInDarkTheme (index.js:1408:23)
at runCheck (index.js:1433:35)
at MutationObserver.<anonymous> (index.js:1508:17)
CC0MT5b0.js:29 Could not find messages for locale code:
ao @ CC0MT5b0.js:29
CC0MT5b0.js:29 Could not find messages for locale code: en-US
```
[16:17:27] <miro5001> > <@Alekswag:matrix.org> yummy useful javascript stacktraces

Oh, I have logout then login and it disappeared
[16:27:10] <miro5001> More info : my server uses ipv4 only. When I tried to allow both in the yunohost settings I got an error :

```
Error: "500"

Action: "PUT" /yunohost/api/settings/misc

Error message:
Unexpected server error

Traceback

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 473, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 561, in process
return func(**arguments)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/log.py", line 483, in func_wrapper
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/settings.py", line 102, in settings_set
return settings.set(key, value, args, args_file, operation_logger=operation_logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 577, in set
self.form = self._ask(
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 855, in _ask
) or not section.is_visible(context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 169, in is_visible
return evaluate_simple_js_expression(self.visible, context=context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/utils/form.py", line 216, in evaluate_simple_js_expression
return evaluate_simple_ast(node, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/utils/form.py", line 104, in evaluate_simple_ast
return context[node.id]
~~~~~~~^^^^^^^^^
KeyError: 'security_experimental_enabled'
```
[16:28:12] <Aleks (he/him/il/lui)> that issue is fixed in bookworm
[16:28:41] <miro5001> Oh, I am on 12.7
[16:29:07] <Aleks (he/him/il/lui)> 12.7 is not a yunohost version
[16:29:24] <miro5001> Powered by YunoHost 12.0.7 (stable).
[16:29:29] <miro5001> sorry
[16:30:44] <miro5001> I had no issues with the migration.
[16:31:12] <thatoo> Hello, on ynh 11, when I try to turn the setting Network in tools > ynh settings from "Both" to "IPv4 Only", it gives me the following error : 

```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 450, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 574, in process
return func(**arguments)
File "/usr/lib/python3/dist-packages/yunohost/log.py", line 483, in func_wrapper
result = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/yunohost/settings.py", line 88, in settings_set
return settings.set(key, value, args, args_file, operation_logger=operation_logger)
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 209, in set
self._ask()
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 579, in _ask
and not evaluate_simple_js_expression(
File "/usr/lib/python3/dist-packages/yunohost/utils/form.py", line 188, in evaluate_simple_js_expression
return evaluate_simple_ast(node, context)
File "/usr/lib/python3/dist-packages/yunohost/utils/form.py", line 76, in evaluate_simple_ast
return context[node.id]
KeyError: 'security_experimental_enabled'
```

What can I do to set IPv4 Only then?
[17:09:08] <miro5001> Hmm, logout login doesn't fix it on mobile
[22:00:30] <satadaes> Can't login to my wordpress with the admin username and password from yunohost and it's not allowed to reset it, anyone know how to fix this?
[22:01:20] <satadaes> works fine on other wordpress installs though, very odd