finally getting somewhere.
i installed ubuntu server instead on virtual box, did the install again as correct as i can.
in the ftp settings, i should have set the ip address instead of the name.
but i see a lot of ftp errors.
2022-11-13 12:17:19 weewx[2148] DEBUG weeutil.ftpupload: Attempting connection to 85.255.199.22
2022-11-13 12:17:19 weewx[2148] DEBUG weeutil.ftpupload: Connected to 85.255.199.22
2022-11-13 12:17:19 weewx[2148] DEBUG weeutil.ftpupload: 0 ./weekradiation.png e4e9d09c9a410af104aeb54059eb45247f7d51cf4f85a10f8be03d8e4b345f57
2022-11-13 12:17:20 weewx[2148] ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/weekradiation.png to server 85.255.199.22. Reason: '553 Could not create file.'
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'ftplib.error_perm'>': 553 Could not create file.
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** Traceback (most recent call last):
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 437, in run
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** n = ftp_data.run()
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/ftpupload.py", line 220, in run
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** ftp_server.storbinary(stor_cmd, fd)
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 498, in storbinary
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** with self.transfercmd(cmd, rest) as conn:
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 393, in transfercmd
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** return self.ntransfercmd(cmd, rest)[0]
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 359, in ntransfercmd
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** resp = self.sendcmd(cmd)
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 281, in sendcmd
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** return self.getresp()
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 254, in getresp
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** raise error_perm(resp)
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: **** ftplib.error_perm: 553 Could not create file.
2022-11-13 12:17:20 weewx[2148] ERROR weewx.reportengine: ftpgenerator: Upload failed
2022-11-13 12:17:20 weewx[2148] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.