Pentaho

 View Only

 Saiku 3.9 CE does not show subfolders in Pentaho 8.0

  • Pentaho
  • Pentaho
MIREYA MARTINEZ SAIZ's profile image
MIREYA MARTINEZ SAIZ posted 12-17-2018 15:12

Hello,

I have Saiku plugin (3.90 CE) installed on Pentaho 8.0. When I try to save a query or open a query I can only see home folder and public folder but I can't see subfolders.

Anyone else facing this issue ? How can I solve it ?

Thank you.


#Pentaho
Virgilio Pierini's profile image
Virgilio Pierini

I had a different problem with Saiku CE, latest from marketplace which should be your same version, and Pentaho 8.0.

My problem was I did not see any folder at all and this topic helped me

https://github.com/OSBI/saiku/issues/601

https://github.com/OSBI/saiku/issues/601

But, if you actually see some folders, it might be a different problem. How about security. Is it a vanilla configuration?

Virgilio

MIREYA MARTINEZ SAIZ's profile image
MIREYA MARTINEZ SAIZ

Thank you Virgilio.

Yes, my problem is different. I see only folders home, public and etc but not subfolders. I've tried to modify .jar files from the /saiku/lib as your topic recommends but the problem is not solved.

The thing is that I installed SAIKU manually (I downloaded the zip file and put in directly in ../pentaho-server/pentaho-solutions/system/saiku). I don't know if it can be the reason...

captura-de-pantalla-2018-12-18-a-les-9

Virgilio Pierini's profile image
Virgilio Pierini

I installed the plugin the very same way, manual unzip + added license.

I would investigate in different ways:

- acls (can you save a cde dashboard in the folders you don't see from saiku?)

- any error in pentaho.log / catalina.out to get any additional clues

- developer console in chrome browser to see any javascript error while retrieving folder tree

Virgilio

MIREYA MARTINEZ SAIZ's profile image
MIREYA MARTINEZ SAIZ

Hi Virgilio,

ACLS

I am able to see all folders when I save cde dashboards

CATALINA.OUT

Errors

10:54:55,770 ERROR [ServiceDiscovery] Class class mondrian.spi.impl.MariaDBDialect cannot be assigned to interface interface mondrian.spi.Dialect

10:57:59,223 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/saikuplugin.properties_supported_languages.properties not found in plugin saiku

10:57:59,248 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/saikuplugin.properties.properties not found in plugin saiku

10:57:59,290 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/saikuplugin.properties_en.properties not found in plugin saiku

10:57:59,305 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/saikuplugin.properties_en_US.properties not found in plugin saiku

10:59:45,814 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/js/ozpIwc/ozpIwc-client.min.js.map not found in plugin saiku

10:59:45,814 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/js/backbone/underscore-min.map not found in plugin saiku

11:01:03,590 ERROR [GenericServlet] GenericServlet.ERROR_0004 - Resource /saiku-ui/js/saiku/plugins/I18n/po/ca.json not found in plugin saiku

DEVELOPER CONSOLE

Errors:

Failed to load resource: http://localhost:8080/pentaho/content/saiku-ui/js/saiku/plugins/I18n/po/ca.json the server responded with a status of 404 (Not Found)

Failed to load resource: the server responded with a status of 404 (Not Found)

send @ jquery.min.js:4

Does the errors give any clue to you?

Thanks a lot.

Virgilio Pierini's profile image
Virgilio Pierini

mmm

I have the same errors in catalina.out (I wasn't aware of those actually :-D ) and the ca.json produces a 404.

But when I click on folders in the save as dialog I do not see any error in the javascript console. I just see an http request (see the pictures). Do you have that one?

schermata-2018-12-18-alle-11

Anyway, I don't know what to do next...

MIREYA MARTINEZ SAIZ's profile image
MIREYA MARTINEZ SAIZ

Thanks Virgilio, I am not able to see the http request: where exactly do you check that? In my javascript console I see the following errors:

captura-de-pantalla-2018-12-18-a-les-16

Do you mind to list the content of your pentaho-solutions/system/saiku/lib folder? Just to check if any component is different in my installation.

Thanks a lot for your time!

Virgilio Pierini's profile image
Virgilio Pierini

This content was either too long or contained formatting that did not work with our migration. A PDF document is attached that contains the original representation

 

No problem, you have to go to "network" tab, 2 on the right from current one (which is console, then sources, then network).Here is my listing$ cd pentaho-solutions/system/saiku/$ find . -ls8602520083        0 drwxr-xr-x   12 virgilio         staff                 384 13 Dic 17:08 .8602520084        0 drwxr-xr-x   24 virgilio         staff                 768 13 Dic 17:08 ./ui8602520085        8 -rw-r--r--    1 virgilio         staff                1150 20 Apr  2018 ./ui/favicon.ico8602520086        8 -rw-r--r--    1 virgilio         staff                  47 15 Dic 00:12 ./ui/saikuplugin_supported_languages.properties8602520087       96 -rw-r--r--    1 virgilio         staff               49063 20 Apr  2018 ./ui/index.html8602520088       24 -rw-r--r--    1 virgilio         staff               11358 20 Apr  2018 ./ui/LICENSE8602520089        0 drwxr-xr-x    7 virgilio         staff                 224 20 Apr  2018 ./ui/embed8602520090        8 -rw-r--r--    1 virgilio         staff                1150 20 Apr  2018 ./ui/embed/favicon.ico8602520091        0 drwxr-xr-x    5 virgilio         staff                 160 20 Apr  2018 ./ui/embed/images8602520092        8 -rw-r--r--    1 virgilio         staff                 852 20 Apr  2018 ./ui/embed/images/arrow-up.gif8602520093        8 -rw-r--r--    1 virgilio         staff                 822 20 Apr  2018 ./ui/embed/images/arrow-none.gif8602520094        8 -rw-r--r--    1 virgilio         staff                 852 20 Apr  2018 ./ui/embed/images/arrow-down.gif8602520095       16 -rw-r--r--    1 virgilio         staff                6341 20 Apr  2018 ./ui/embed/bootstrap3.html8602520096        8 -rw-r--r--    1 virgilio         staff                3203 20 Apr  2018 ./ui/embed/embed.html8602520097       24 -rw-r--r--    1 virgilio         staff                8503 20 Apr  2018 ./ui/embed/saiku.css8602520098        0 drwxr-xr-x    5 virgilio         staff                 160 20 Apr  2018 ./ui/gulp8602520099        0 drwxr-xr-x    4 virgilio         staff                 128 20 Apr  2018 ./ui/gulp/tasks8602520100        8 -rw-r--r--    1 virgilio         staff                1314 20 Apr  2018 ./ui/gulp/tasks/browser-sync.js8602520101        8 -rw-r--r--    1 virgilio         staff                 752 20 Apr  2018 ./ui/gulp/tasks/default.js8602520102        8 -rw-r--r--    1 virgilio         staff                 842 20 Apr  2018 ./ui/gulp/index.js8602520103        8 -rw-r--r--    1 virgilio         staff                 860 20 Apr  2018 ./ui/gulp/paths.js8602520104        0 drwxr-xr-x    6 virgilio         staff                 192 20 Apr  2018 ./ui/css8602520105        0 drwxr-xr-x    5 virgilio         staff                 160 20 Apr  2018 ./ui/css/jquery8602520106        0 drwxr-xr-x   15 virgilio         staff                 480 20 Apr  2018 ./ui/css/jquery/images8602520107       16 -rw-r--r--    1 virgilio         staff                4369 20 Apr  2018 ./ui/css/jquery/images/ui-icons_cd0a0a_256x240.png8602520108       16 -rw-r--r--    1 virgilio         staff                4369 20 Apr  2018 ./ui/css/jquery/images/ui-icons_888888_256x240.png8602520109        8 -rw-r--r--    1 virgilio         staff                 111 20 Apr  2018 ./ui/css/jquery/images/ui-bg_glass_75_dadada_1x400.png8602520110       16 -rw-r--r--    1 virgilio         staff                4369 20 Apr  2018 ./ui/css/jquery/images/ui-icons_2e83ff_256x240.png8602520111        8 -rw-r--r--    1 virgilio         staff                 178 20 Apr  2018 ./ui/css/jquery/images/ui-bg_flat_75_ffffff_40x100.png8602520112        8 -rw-r--r--    1 virgilio         staff                 110 20 Apr  2018 ./ui/css/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png8602520113        8 -rw-r--r--    1 virgilio         staff                 105 20 Apr  2018 ./ui/css/jquery/images/ui-bg_glass_65_ffffff_1x400.png8602520114        8 -rw-r--r--    1 virgilio         staff                 119 20 Apr  2018 ./ui/css/jquery/images/ui-bg_glass_95_fef1ec_1x400.png8602520115       16 -rw-r--r--    1 virgilio         staff                4369 20 Apr  2018 ./ui/css/jquery/images/ui-icons_222222_256x240.png8602520116        8 -rw-r--r--    1 virgilio         staff                 101 20 Apr  2018 ./ui/css/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png8602520117        8 -rw-r--r--    1 virgilio         staff                 120 20 Apr  2018 ./ui/css/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png8602520118       16 -rw-r--r--    1 virgilio         staff                4369 20 Apr  2018 ./ui/css/jquery/images/ui-icons_454545_256x240.png8602520119        8 -rw-r--r--    1 virgilio         staff                 180 20 Apr  2018 ./ui/css/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png8602520120       56 -rw-r--r--    1 virgilio         staff               24873 20 Apr  2018 ./ui/css/jquery/jquery-ui.css8602520121       32 -rw-r--r--    1 virgilio         staff               14921 20 Apr  2018 ./ui/css/jquery/spectrum.css8602520122        0 drwxr-xr-x    3 virgilio         staff                  96 20 Apr  2018 ./ui/css/saiku8602520123        0 drwxr-xr-x    9 virgilio         staff                 288 20 Apr  2018 ./ui/css/saiku/src8602520124       56 -rw-r--r--    1 virgilio         staff               27187 20 Apr  2018 ./ui/css/saiku/src/bootstrap.min.css8602520125        8 -rw-r--r--    1 virgilio         staff                3943 20 Apr  2018 ./ui/css/saiku/src/saiku.table.css8602520126      136 -rw-r--r--    1 virgilio         staff               67630 20 Apr  2018 ./ui/css/saiku/src/styles.css8602520127       64 -rw-r--r--    1 virgilio         staff               31706 20 Apr  2018 ./ui/css/saiku/src/bootstrap.css8602520128       24 -rw-r--r--    1 virgilio         staff                9083 20 Apr  2018 ./ui/css/saiku/src/saiku.dropzone.css8602520129       16 -rw-r--r--    1 virgilio         staff                4503 20 Apr  2018 ./ui/css/saiku/src/giveitsomestyle.css8602520130        8 -rw-r--r--    1 virgilio         staff                1063 20 Apr  2018 ./ui/css/saiku/src/cssoverride.css8602520131        0 drwxr-xr-x    3 virgilio         staff                  96 20 Apr  2018 ./ui/css/blueprint8602520132        0 drwxr-xr-x    8 virgilio         staff                 256 20 Apr  2018 ./ui/css/blueprint/src8602520133        8 -rw-r--r--    1 virgilio         staff                3713 20 Apr  2018 ./ui/css/blueprint/src/typography.css8602520134        8 -rw-r--r--    1 virgilio         staff                1609 20 Apr  2018 ./ui/css/blueprint/src/reset.css8602520135       24 -rw-r--r--    1 virgilio         staff                9520 20 Apr  2018 ./ui/css/blueprint/src/grid.css8602520136        8 -rw-r--r--    1 virgilio         staff                2551 20 Apr  2018 ./ui/css/blueprint/src/forms.css8602520137        8 -rw-r--r--    1 virgilio         staff                2157 20 Apr  2018 ./ui/css/blueprint/src/print.css8602520138        8 -rw-r--r--    1 virgilio         staff                2669 20 Apr  2018 ./ui/css/blueprint/src/ie.css8602520139        8 -rw-r--r--    1 virgilio         staff                 176 20 Apr  2018 ./ui/css/.htaccess8602520140        0 drwxr-xr-x    8 virgilio         staff                 256 20 Apr  2018 ./ui/images8602520141        8 -rw-r--r--    1 virgilio         staff                 852 20 Apr  2018 ./ui/images/arrow-up.gif8602520142        0 drwxr-xr-x   21 virgilio         staff                 672 20 Apr  2018 ./ui/images/chart8602520143        8 -rw-r--r--    1 virgilio         staff                1716 20 Apr  2018 ./ui/images/chart/area.png8602520144        0 drwxr-xr-x   20 virgilio         staff                 640 20 Apr  2018 ./ui/images/chart/gray8602520145        8 -rw-r--r--    1 virgilio         staff                1059 20 Apr  2018 ./ui/images/chart/gray/area.png8602520146        8 -rw-r--r--    1 virgilio         staff                1040 20 Apr  2018 ./ui/images/chart/gray/100bar.png8602520147        8 -rw-r--r--    1 virgilio         staff                1074 20 Apr  2018 ./ui/images/chart/gray/dot.png8602520148        8 -rw-r--r--    1 virgilio         staff                 940 20 Apr  2018 ./ui/images/chart/gray/radar.png8602520149        8 -rw-r--r--    1 virgilio         staff                1855 20 Apr  2018 ./ui/images/chart/gray/sunburst.png8602520150        8 -rw-r--r--    1 virgilio         staff                1319 20 Apr  2018 ./ui/images/chart/gray/area2.png8602520151        8 -rw-r--r--    1 virgilio         staff                 617 20 Apr  2018 ./ui/images/chart/gray/trendline.png8602520152        8 -rw-r--r--    1 virgilio         staff                 838 20 Apr  2018 ./ui/images/chart/gray/heat.png8602520153        8 -rw-r--r--    1 virgilio         staff                1036 20 Apr  2018 ./ui/images/chart/gray/multiple.png8602520154        8 -rw-r--r--    1 virgilio         staff                 705 20 Apr  2018 ./ui/images/chart/gray/waterfall.png8602520155        8 -rw-r--r--    1 virgilio         staff                 574 20 Apr  2018 ./ui/images/chart/gray/trendbars.png8602520156        8 -rw-r--r--    1 virgilio         staff                 881 20 Apr  2018 ./ui/images/chart/gray/stackedbar.png8602520157        8 -rw-r--r--    1 virgilio         staff                 691 20 Apr  2018 ./ui/images/chart/gray/multiplesunburst.png8602520158        8 -rw-r--r--    1 virgilio         staff                 758 20 Apr  2018 ./ui/images/chart/gray/line.png8602520159        8 -rw-r--r--    1 virgilio         staff          ...
MIREYA MARTINEZ SAIZ's profile image
MIREYA MARTINEZ SAIZ

Thanks Virgilio,

I realized that you have in your installation Saiku plugin version 3.15

I've tried to change Saiku in my installation from version 3.9 to version 3.15 (updating cpf and cpk jar files) and now it works!

It looks that something is not working in version 3.9.

Jon Quiros's profile image
Jon Quiros

I FINALLY found the solution to this one, which I had tried to solve once in a while over the past few years.  This issue is easily confused with needing to copy the cpf-core, etc... files into saiku/lib, but is different.  In that one, users just get " loading..." without showing any folders... In this issue, only " root"  folders can be seen.  To fix, check some of the settings in  saiku/ui/js/saiku/Settings.yaml.  Namely check you REPOSITORY_LAZY and EXTENDED_REPOSITORY_RESOURCE settings and restart....

.  Working on 8.2 CE with latest saiku ce plugin.

Regards,

Jon Quiros

MIREYA MARTINEZ SAIZ's profile image
MIREYA MARTINEZ SAIZ

Hi Jon,

thanks for the answer but I am not sure which are the values I should inform in these two properties:

REPOSITORY_LAZY 

EXTENDED_REPOSITORY_RESOURCE

I should change them from false to true?

Stephen Streufert's profile image
Stephen Streufert

Hello Mireya,

Yes, set both to true. It fixed the problem for me on 8.3 CE with Saiku 3.90.

Data Conversion's profile image
Data Conversion
Attachment  View in library
67358.pdf 249 KB