Open eyoung100 opened 3 years ago
Thanks @eyoung100 If you could be so kind, I'd appreciate it if you would open 3 separate issues rather than listing multiple items within a single issue.
Meantime, I plan to test what you say about cron (which makes no sense to me - why would Debian Server not have cron enabled?!) ... I'll test / confirm and patch as needed.
2 is already in the works as you can see in the code. This will be completed in time as possible, and with the support of Patrons to help fund the development.
3 I'm happy to evaluate. Thank you. It is a good suggestion.
I'll be happy to open 3 Tickets. How do you want me to approach that? Sticking with the first issue:
Flip KVM Switch to Pi4
snap
to install the imager againsudo systemctl enable sshd && sudo systemctl start sshd
Flip KVM Switch to Desktop PC Like you, I thought a cron daemon was enabled by default, so I continued:
After rebooting, the server never started, because cron was never enabled or started.
Could you instead just download the recommended Base OS from the README link and see if it differs? SSH is also enabled by default, so I can't help but think it has something to do with how you are flashing your Base OS.
Let me know - thanks.
Could you instead just download the recommended Base OS from the README link and see if it differs? SSH is also enabled by default, so I can't help but think it has something to do with how you are flashing your Base OS.
Let me know - thanks.
Ubuntu 21..04 64-bit arm is what I installed.
ubuntu@ubuntu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 21.04"
VERSION_ID="21.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.11.0-1012-raspi #13-Ubuntu SMP PREEMPT Thu Jun 17 10:44:37 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
As verification I re-downloaded the link, and received ubuntu-21.04-preinstalled-server-arm64+raspi (1).img
Thanks. I'll have to do more testing, because what I'm seeing is a fully working Pinecraft server running Minecraft 1.17, with cron and ssh enabled out of the box, so not sure yet why you're experiencing something otherwise. Ubuntu Server, by default, has both SSH and Cron enabled, so I can't understand why you are seeing something different.
.... Ubuntu Server, by default, has both SSH and Cron enabled, so I can't understand why you are seeing something different.
Would using a KVM switch cause an issue? That is the only thing out of the ordinary that I used while installing. See 4-Port HDMI/USB KVM Switch with Audio/Video and USB Peripheral Sharing. My Pi is connected to the HDMI with a HDMI-C to HDMI-A Adapter.
Aikars Flags added in https://github.com/Cat5TV/pinecraft/commit/d9919c743eb41d3ef6046021a50da34c2ae939b6
@reboot
cron job. I'm no script expert, but something likeApparently crond is not started by default on Ubuntu server 21.04. I could only get the server to behave if I ran the install script every time I wanted to start the server until I discovered this.
I allowed the installer to complete to determine the
-Xms
and-Xmx
lines, and then added the extra flags to optimize garbage collection etc. I'm using the Liberica OpenJDK 16 and these all work.