on ‎2018 Oct 19 1:47 PM
Hi everyone maybe a silly question which has been bugging us from quite some time.
When cloning a system for debugging purposes we avoid copying over the /data folder since it takes ages to copy (being populated with thousands of small files). This is not a problem for running the cloned instance, you just need to be aware of missing images. Problem is, Backoffice can not run anymore, since it misses its temporary XML files like
Do you think there's a way around that in order to force Backoffice to create its own temporarily files again?
Caused by: java.io.FileNotFoundException: /hybris/xyz/hybris/data/media/sys_master/h1d/h54/8806366019614.xml (File o directory non esistente)
at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_181]
at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:1.8.0_181]
at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.8.0_181]
at de.hybris.platform.media.storage.impl.LocalFileMediaStorageStrategy.getAsStream(LocalFileMediaStorageStrategy.java:220) ~[coreserver.jar:?]
at de.hybris.platform.jalo.media.MediaManager$1.getStream(MediaManager.java:154) ~[coreserver.jar:?]
at de.hybris.platform.jalo.media.MediaManager.getMediaAsStream(MediaManager.java:370) ~[coreserver.jar:?]
at de.hybris.platform.jalo.media.MediaManager.getMediaAsStream(MediaManager.java:386) ~[coreserver.jar:?]
at de.hybris.platform.servicelayer.media.impl.DefaultMediaService.getStreamFromMedia(DefaultMediaService.java:270) ~[coreserver.jar:?]
... 118 more
thanks a lot nicola
Request clarification before answering.
Yes there are are:
Activate automatic backoffice config reset (on login or server start) by adding some properties to local.properties
#reset backoffice config every login
backoffice.cockpitng.reset.triggers=login
backoffice.cockpitng.reset.scope=widgets,cockpitConfig
Or open the Backoffice, ignore the errors and the blank screen, press F4 to activate the Application Orchestrator and then choose "Reset Everything" in the "Toolbar menu" at the top right
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
F4 not working for me
but following in local.properties worked for me . thanks
#reset backoffice config every login
backoffice.cockpitng.reset.triggers=login
backoffice.cockpitng.reset.scope=widgets,cockpitConfig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.