通过 1panel 升级 2.10.0 -> 2.10.1 后启动失败,出现 No value found for protocol 错误,
1Panel-halo-rzxY | Caused by: io.r2dbc.spi.NoSuchOptionException: No value found for protocol
1Panel-halo-rzxY | at io.r2dbc.spi.ConnectionFactoryOptions.getRequiredValue(ConnectionFactoryOptions.java:165) ~[r2dbc-spi-1.0.0.RELEASE.jar:na]
1Panel-halo-rzxY | at org.springframework.boot.r2dbc.ConnectionFactoryBuilder
P
o
o
l
i
n
g
A
w
a
r
e
O
p
t
i
o
n
s
C
a
p
a
b
l
e
W
r
a
p
p
e
r
.
d
e
l
e
g
a
t
e
F
a
c
t
o
r
y
O
p
t
i
o
n
s
(
C
o
n
n
e
c
t
i
o
n
F
a
c
t
o
r
y
B
u
i
l
d
e
r
.
j
a
v
a
:
214
)
[
s
p
r
i
n
g
−
b
o
o
t
−
3.1.5.
j
a
r
:
3.1.5
]
1
P
a
n
e
l
−
h
a
l
o
−
r
z
x
Y
∣
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
o
o
t
.
r
2
d
b
c
.
C
o
n
n
e
c
t
i
o
n
F
a
c
t
o
r
y
B
u
i
l
d
e
r
PoolingAwareOptionsCapableWrapper.delegateFactoryOptions(ConnectionFactoryBuilder.java:214) ~[spring-boot-3.1.5.jar:3.1.5] 1Panel-halo-rzxY | at org.springframework.boot.r2dbc.ConnectionFactoryBuilder
PoolingAwareOptionsCapableWrapper.delegateFactoryOptions(ConnectionFactoryBuilder.java:214) [spring−boot−3.1.5.jar:3.1.5]1Panel−halo−rzxY∣atorg.springframework.boot.r2dbc.ConnectionFactoryBuilderPoolingAwareOptionsCapableWrapper.buildAndWrap(ConnectionFactoryBuilder.java:206) ~[spring-boot-3.1.5.jar:3.1.5]
1Panel-halo-rzxY | at org.springframework.boot.r2dbc.ConnectionFactoryBuilder.build(ConnectionFactoryBuilder.java:177) ~[spring-boot-3.1.5.jar:3.1.5]
1Panel-halo-rzxY | at org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations.createConnectionFactory(ConnectionFactoryConfigurations.java:72) ~[spring-boot-autoconfigure-3.1.5.jar:3.1.5]
1Panel-halo-rzxY | at org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$GenericConfiguration.connectionFactory(ConnectionFactoryConfigurations.java:130) ~[spring-boot-autoconfigure-3.1.5.jar:3.1.5]
1Panel-halo-rzxY | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
1Panel-halo-rzxY | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
1Panel-halo-rzxY | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
1Panel-halo-rzxY | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
1Panel-halo-rzxY | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.13.jar:6.0.13]
1Panel-halo-rzxY | ... 130 common frames omitted
1Panel-halo-rzxY |
手动修改 .env 文件参数,步骤如下:
PANEL_DB_PORT=3306
PANEL_DB_TYPE="mysql"