Hardware: Raspberry Pi 4
YunoHost version: latest
I have access to my server : Through SSH | NOT through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
Description of my issue
I went to https://yunohost.org/#/images_en, and cliked on the Raspberry image link.
I linked to a qemu generated image. Weird, but ok.
I created an SD card from the image, and booted
Once booted, I can connect via ssh, but not webadmin. And basically nothing is working.
When I connect via ssh:
XXX@YYYY$ ssh root@192.168.1.30
root@192.168.1.30's password:
Linux yunohost 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Resizing root partition ... (this may take up to a few minutes)
**Job for resize2fs_once.service failed because the control process exited with error code.**
**See "systemctl status resize2fs_once.service" and "journalctl -xe" for details.**
======================================================================
Congratulations on setting up your YunoHost server !
To finish the installation, you should run the postinstallation.
You can find documentation about it on :
https://yunohost.org/postinstall
You can run it from the command line interface with :
$ yunohost tools postinstall
Or from a browser by accessing one of your local IP :
192.168.1.30
2a01:e0a:297:f460:df58:8f1a:c525:1b53
======================================================================
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
root@yunohost:~#
journalctl -xe
root@yunohost:~# journalctl -xe
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:12 yunohost rsyslogd[410]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check
Oct 15 10:00:12 yunohost rsyslogd[410]: file '8' write error: Read-only file system [v8.1901.0 try https://www.rsyslog.com/e/2027 ]
Oct 15 10:00:14 yunohost sshd[5438]: Failed password for root from 221.6.32.34 port 54404 ssh2
Oct 15 10:00:17 yunohost sshd[5438]: Received disconnect from 221.6.32.34 port 54404:11: Bye Bye [preauth]
Oct 15 10:00:17 yunohost sshd[5438]: Disconnected from authenticating user root 221.6.32.34 port 54404 [preauth]
lines 965-1001/1001 (END)client_loop: send disconnect: Broken pipe
Post install attempt:
root@yunohost:~# yunohost tools postinstall
Main domain: yuno.flipo.me
You are now about to define a new administration password. The password should be at least 8 characters long—though it is good practice to use a longer password (i.e. a passphrase) and/or to use a variation of characters (uppercase, lowercase, digits and special characters).
New administration password:
Confirm new administration password:
gzip: /usr/share/yunohost/other/password/100000-most-used.txt: Read-only file system
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
self.flush()
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
self.stream.flush()
IOError: [Errno 30] Read-only file system
Logged from file dyndns.py, line 70
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
self.flush()
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
self.stream.flush()
IOError: [Errno 30] Read-only file system
Logged from file connectionpool.py, line 815
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
self.flush()
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
self.stream.flush()
IOError: [Errno 30] Read-only file system
Logged from file connectionpool.py, line 393
Info: The operation 'Postinstall your YunoHost server' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20201015-070021-tools_postinstall-yuno.flipo.me --share' to get help
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
self.flush()
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
self.stream.flush()
IOError: [Errno 30] Read-only file system
Logged from file log.py, line 523
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
self.flush()
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
self.stream.flush()
IOError: [Errno 30] Read-only file system
Logged from file actionsmap.py, line 591
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
self.flush()
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
self.stream.flush()
IOError: [Errno 30] Read-only file system
Logged from file core.py, line 549
Traceback (most recent call last):
File "/usr/bin/yunohost", line 218, in <module>
timeout=opts.timeout,
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 149, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 469, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 588, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/log.py", line 315, in func_wrapper
operation_logger.error(e)
File "/usr/lib/moulinette/yunohost/log.py", line 492, in error
return self.close(error)
File "/usr/lib/moulinette/yunohost/log.py", line 524, in close
self.flush()
File "/usr/lib/moulinette/yunohost/log.py", line 433, in flush
with open(self.md_path, 'w') as outfile:
IOError: [Errno 30] Read-only file system: '/var/log/yunohost/categories/operation/20201015-070021-tools_postinstall-yuno.flipo.me.yml'
root@yunohost:~#
root@yunohost:~# systemctl status resize2fs_once.service
â—Ź resize2fs_once.service - LSB: Resize the root filesystem to fill partition
Loaded: loaded (/etc/init.d/resize2fs_once; generated)
Active: failed (Result: exit-code) since Thu 2020-10-15 07:42:44 BST; 2h 15min ago
Docs: man:systemd-sysv-generator(8)
Process: 1113 ExecStart=/etc/init.d/resize2fs_once start (code=exited, status=1/FAILURE)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/resize2fs_once.service
Oct 15 07:41:43 yunohost resize2fs_once[1113]: Starting resize2fs_once:resize2fs 1.44.5 (15-Dec-2018)
Oct 15 07:42:44 yunohost resize2fs_once[1113]: resize2fs: Device or resource busy While checking for on-line resizing support
Oct 15 07:42:44 yunohost resize2fs_once[1113]: Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
Oct 15 07:42:44 yunohost resize2fs_once[1113]: old_desc_blocks = 5, new_desc_blocks = 8
Oct 15 07:42:44 yunohost systemd[1]: resize2fs_once.service: Control process exited, code=exited, status=1/FAILURE
Oct 15 07:42:44 yunohost systemd[1]: resize2fs_once.service: Failed with result 'exit-code'.
Oct 15 07:42:44 yunohost systemd[1]: Failed to start LSB: Resize the root filesystem to fill partition.
Oct 15 07:57:37 yunohost resize2fs_once[385]: resize2fs: Input/output error While checking for on-line resizing support
Oct 15 07:57:37 yunohost resize2fs_once[385]: Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
Oct 15 07:57:37 yunohost resize2fs_once[385]: old_desc_blocks = 2, new_desc_blocks = 8
Any idea ? Is the raspberry pi image not correct ? Or just not RP4 compatible ? Thanks in advance