You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gentics Mesh Version, operating system, or hardware.
v0.17.x
Problem
As I was upgrading from 0.16 to 0.17, stating the Server via systemctl didn't work and the logs were empty:
10:57:41.675 [] INFO [main] [OptionsLoader.java:143] - Configuration file {mesh.yml} was not found within classpath.
10:57:41.752 [] INFO [main] [OptionsLoader.java:148] - Loading configuration file {config/mesh.yml}.
10:57:42.089 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:252] - ###############################################################
10:57:42.090 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:253] - # Mesh Version 0.17.0 2018-02-22T14:54:11Z #
10:57:42.091 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:254] - # Gentics Software #
10:57:42.091 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:255] - #-------------------------------------------------------------#
10:57:42.096 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:257] - # Vert.x Version: 3.5.0 #
10:57:42.096 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:261] - # Mesh Node Name: Nostalgic Ferrothorn #
10:57:42.096 [Nostalgic Ferrothorn] INFO [main] [MeshImpl.java:262] - ###############################################################
10:57:42.212 [Nostalgic Ferrothorn] INFO [main] [OrientDBDatabase.java:266] - Creating orientdb backup configuration file {config/automatic-backup.json}
10:57:42.222 [Nostalgic Ferrothorn] INFO [Thread-0] [MeshImpl.java:317] - Mesh shutting down...
10:57:42.223 [] INFO [Thread-0] [MeshImpl.java:329] - Shutdown completed...
Later in the journalctl:
Mar 02 11:03:56 java[17462]: Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: config/automatic-backup.json (Permission denied)
Mar 02 11:03:56 java[17462]: at com.gentics.mesh.cli.BootstrapInitializerImpl.init(BootstrapInitializerImpl.java:230)
Mar 02 11:03:56 java[17462]: at com.gentics.mesh.cli.MeshImpl.run(MeshImpl.java:115)
Mar 02 11:03:56 java[17462]: at com.gentics.mesh.cli.MeshImpl.run(MeshImpl.java:81)
Mar 02 11:03:56 java[17462]: at com.gentics.mesh.server.ServerRunner.main(ServerRunner.java:53)
Mar 02 11:03:56 java[17462]: Caused by: java.io.FileNotFoundException: config/automatic-backup.json (Permission denied)
Mar 02 11:03:56 java[17462]: at java.io.FileOutputStream.open0(Native Method)
Mar 02 11:03:56 java[17462]: at java.io.FileOutputStream.open(FileOutputStream.java:270)
Mar 02 11:03:56 java[17462]: at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
Mar 02 11:03:56 java[17462]: at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:367)
Apparently it couldn't find the automatic-backup.json file and also couldn't create it
I then manually created the file and then it worked.
What is the automatic-backup.json file even used for? Never heard anything about it and it isn't getting mentioned in the Changelog or anywhere else as far as I can see.
Expected behaviour and actual behaviour
Create the File if it doesn't exist yet and don't complain that the file doesn't exist (If possible of course)
Write the stack-trace into the mesh.log
The text was updated successfully, but these errors were encountered:
Gentics Mesh Version, operating system, or hardware.
Problem
As I was upgrading from 0.16 to 0.17, stating the Server via
systemctl
didn't work and the logs were empty:Later in the
journalctl
:Apparently it couldn't find the
automatic-backup.json
file and also couldn't create itI then manually created the file and then it worked.
What is the
automatic-backup.json
file even used for? Never heard anything about it and it isn't getting mentioned in the Changelog or anywhere else as far as I can see.Expected behaviour and actual behaviour
mesh.log
The text was updated successfully, but these errors were encountered: