Installation of papermc not possible Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
omavoss
Posts: 22
Joined: Thu Sep 24, 2020 11:08 pm

Installation of papermc not possible

Post by omavoss »

Hello,

Code: Select all

root@DietPi:~# dietpi-software reinstall 181
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[ SUB1 ] DietPi-Software > Automated reinstall
root@DietPi:~# systemctl restart papermc
Failed to restart papermc.service: Unit papermc.service not found.
root@DietPi:~#
What am I doing wrong?

Many friendly greetings.
User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Installation of papermc not possible

Post by Joulinar »

Hi,

many thanks for your message. Answer is quite simple, PaperMC is not yet available on DietPi. It will be part of upcoming release 6.34.

https://github.com/MichaIng/DietPi/blob ... NGELOG.txt
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
omavoss
Posts: 22
Joined: Thu Sep 24, 2020 11:08 pm

Re: Installation of papermc not possible

Post by omavoss »

papermc is always not possible:

Code: Select all

gins/Geyser-Spigot.jar
[FAILED] DietPi-Software | Checking URL: https://ci.nukkitx.com/job/GeyserMC/job                                                                                                                               /Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukk                                                                                                                               it.jar
 - Command: curl -ILfvm 5 https://ci.nukkitx.com/job/GeyserMC/job/Floodgate/job/                                                                                                                               development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar
[FAILED] DietPi-Software | Checking URL: https://ci.nukkitx.com/job/GeyserMC/job/Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar
 - Command: curl -ILfvm 5 https://ci.nukkitx.com/job/GeyserMC/job/Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar
[FAILED] DietPi-Software | Checking URL: https://ci.nukkitx.com/job/GeyserMC/job/Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar
 - Command: curl -ILfvm 5 https://ci.nukkitx.com/job/GeyserMC/job/Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar

---------------------------------------------------------------------
- DietPi has encountered an error                                   -
- Please create a ticket: https://github.com/MichaIng/DietPi/issues -
- Copy and paste only the BLUE lines below into the ticket          -
---------------------------------------------------------------------
#### Details:
- Date           | Sat Dec 12 00:07:30 CET 2020
- DietPi version | v6.34.0 (MichaIng/beta)
- Image creator  | DietPi Core Team
- Pre-image      | Raspbian Lite
- Hardware       | RPi 3 Model B (armv7l) (ID=3)
- Kernel version | Linux DietPi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
- Distro         | buster (ID=5,RASPBIAN=1)
- Command        | curl -ILfvm 5 https://ci.nukkitx.com/job/GeyserMC/job/Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar
- Exit code      | 22
- Software title | DietPi-Software
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...
#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...
#### Actual behaviour:
<!-- What IS happening? -->
- ...
#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...
#### Additional logs:
```
* Expire in 0 ms for 6 (transfer 0x5108a0)
* Expire in 5000 ms for 8 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 0 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
* Expire in 1 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 2 ms for 1 (transfer 0x5108a0)
* Expire in 3 ms for 1 (transfer 0x5108a0)
* Expire in 3 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 3 ms for 1 (transfer 0x5108a0)
* Expire in 3 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 4 ms for 1 (transfer 0x5108a0)
* Expire in 5 ms for 1 (transfer 0x5108a0)
*   Trying 2606:4700:3034::681b:8c52...
* TCP_NODELAY set
* Expire in 2491 ms for 3 (transfer 0x5108a0)
* Expire in 200 ms for 4 (transfer 0x5108a0)
* Connected to ci.nukkitx.com (2606:4700:3034::681b:8c52) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2213 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [80 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Jul 31 00:00:00 2020 GMT
*  expire date: Jul 31 12:00:00 2021 GMT
*  subjectAltName: host "ci.nukkitx.com" matched cert's "*.nukkitx.com"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x5108a0)
} [5 bytes data]
> HEAD /job/GeyserMC/job/Floodgate/job/development/lastStableBuild/artifact/bukkit/target/floodgate-bukkit.jar HTTP/2
> Host: ci.nukkitx.com
> User-Agent: curl/7.64.0
> Accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [238 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [238 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
} [5 bytes data]
* The requested URL returned error: 404
* stopped the pause stream!
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host ci.nukkitx.com left intact
curl: (22) The requested URL returned error: 404
```
---------------------------------------------------------------------
[FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate.
What am I doing wrong?

Many frienly greetings.
User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Installation of papermc not possible

Post by Joulinar »

It's not your fault. Looks like an issue at the 3rd party side for Geyser and Floodgate plugins. There are not able to download atm. Maybe a server issue.

EDIT:
Ok there was a name change on the download server. Will be adjusted on next Beta version https://github.com/MichaIng/DietPi/comm ... 1393b6c8aa
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DonLiborio
Posts: 24
Joined: Mon May 15, 2017 8:34 pm

Re: Installation of papermc not possible

Post by DonLiborio »

Is this fixed on DietPi v6.34.3? I get these errors when trying to install:

Code: Select all

Mode: Installing PaperMC: Highly optimised Minecraft server with plugins, written in Java

[FAILED] DietPi-Software | Checking URL: https://papermc.io/ci/job/Paper-1.16/lastStableBuild/artifact/paperclip.jar
 - Command: curl -ILfvm 5 https://papermc.io/ci/job/Paper-1.16/lastStableBuild/artifact/paperclip.jar
RPi 3 Model B (armv7l) | IP: 192.168.0.19 | Use up/down buttons to scroll text─┐
│ Checking URL:
│ https://papermc.io/ci/job/Paper-1.16/lastStableBuild/artifact/paperclip.jar
│  - Command: curl -ILfvm 5
│ https://papermc.io/ci/job/Paper-1.16/lastStableBuild/artifact/paperclip.jar
│  - Exit code: 22
│  - DietPi version: v6.34.3 (MichaIng/master) | HW_MODEL: 3 | HW_ARCH: 2 |
│ DISTRO: 4
│  - Error log:
│   % Total    % Received % Xferd  Average Speed   Time    Time     Time
│ Current
│                                  Dload  Upload   Total   Spent    Left
│ Speed
│ ^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
│ 0*   Trying 172.67.156.38...
│ * TCP_NODELAY set
I have no idea what I'm getting into. I'm doing this for my kids to play Minecraft on the LAN. :D
User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Installation of papermc not possible

Post by Joulinar »

Hi,

many thanks for your massage. Looks like PaperMC download url has been changed and would need to be adjusted again.

New download url is https://papermc.io/api/v1/paper/1.16.4/latest/download

If you are confront with the error, you could adjust the command on the error handle screen. It might be possible to scroll down on the available commands. Just select Change command and change from

Code: Select all

curl -ILfvm 10 https://papermc.io/ci/job/Paper-1.16/lastStableBuild/artifact/paperclip.jar
to

Code: Select all

curl -ILfvm 10 https://papermc.io/api/v1/paper/1.16.4/latest/download
the issue will pop-up a 2nd time because first one was just checking the url while we now go to download

Code: Select all

curl -sSfL https://papermc.io/ci/job/Paper-1.16/lastStableBuild/artifact/paperclip.jar -o paperclip.jar
to

Code: Select all

curl -sSfL https://papermc.io/api/v1/paper/1.16.4/latest/download -o paperclip.jar
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DonLiborio
Posts: 24
Joined: Mon May 15, 2017 8:34 pm

Re: Installation of papermc not possible

Post by DonLiborio »

That worked. Now I need to figure out how to use it.

Thanks!
DonLiborio
Posts: 24
Joined: Mon May 15, 2017 8:34 pm

Re: Installation of papermc not possible

Post by DonLiborio »

An additional installation problem as it was finishing:

Code: Select all

┌─────────────────────────────┤ DietPi-Software ├──────────────────────────────┐
│                                                                              │
│ [FAILED] File does not exist or cannot be written to by current user         │
│                                                                              │
│ Please verify the existence of the file $3                                   │
│         /mnt/dietpi_userdata/papermc/server.properties                       │
│                                                                              │
│ Retry with proper permissions or apply the setting manually:                 │
│         enable-rcon=true                                                     │
│                                                                              │
│                                    <Ok>         

User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Installation of papermc not possible

Post by Joulinar »

yes I noticed the issue on first start as well. https://github.com/MichaIng/DietPi/pull/4039

You can try to reinstall

Code: Select all

dietpi-software reinstall 181
You would need to replace URL again but service start would need to work (hopefully)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
sciman3
Posts: 1
Joined: Thu Jan 14, 2021 4:53 am

Re: Installation of papermc not possible

Post by sciman3 »

Joulinar wrote: Tue Jan 05, 2021 2:41 pm yes I noticed the issue on first start as well. https://github.com/MichaIng/DietPi/pull/4039

You can try to reinstall

Code: Select all

dietpi-software reinstall 181
You would need to replace URL again but service start would need to work (hopefully)
I ran into both of these errors too, the download error as well as the server.properties file error. Both suggested fixes worked for me. Editing the download URL fixed the first issue (and it did have to be done twice) as well as running the reinstall command fixed the file error. Thanks!
Post Reply