Comments
2 comments
-
Hello ecantin,
It looks like you're setting it correctly, just that the host directory doesn't allow for what you're trying to do. The error is essentially saying change the rights or move it somewhere else that has the required rights. -
Thank you!The new release is correct!
[root@labotest1 /opt/flyway/flyway-10.0.1]# ./flyway --version
Flyway OSS Edition 10.0.1 by Redgate
See release notes here: https://rd.gt/416ObMi
[root@labotest1 /opt/flyway/flyway-10.0.1]# ./flyway --version -Dio.netty.native.workdir=/opt/flyway/tmp
ERROR: Failed to configure Parameters: netty
Add comment
Please sign in to leave a comment.
The security on the file system is:
/dev/mapper/rhel-tmp /tmp xfs defaults,nosuid,noexec,nodev 0 0
how to add to the conf file?
./flyway --version
Flyway Community Edition 10.0.0 by Redgate
See release notes here: https://rd.gt/416ObMi
Plugin Name | Version
----------------- | ---------------
Redgate Compare | 1.17.0.11618
SQLFluff | not installed
Nov 17, 2023 4:53:41 PM io.netty.util.internal.NativeLibraryLoader load
INFO: /tmp/libnetty_tcnative_linux_x86_6413442731856311950657.so exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.
Nov 17, 2023 4:53:41 PM io.netty.util.internal.NativeLibraryLoader load
INFO: /tmp/libnetty_transport_native_epoll_x86_647774624510720493220.so exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.
./flyway --version -Dio.netty.native.workdir=/opt/flyway/tmp
ERROR: Failed to configure Parameters: netty
flyway.toml
[flyway]
locations = ["filesystem:migrations"]
[environments.default]
locations = ["filesystem:migrations"]
url = "jdbc:h2:mem:db"
user = ""
password = ""