New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cadviewer 9.17.2 doesn't work at nextcloud 24.0.0 #71
Comments
did a2enmod rewrite |
Hello @emoxam , with the RewriteCond set you should normally see the icons, etc. Have you done the permission setting of the CAD converter ax2023_L64_xx_yy_zz? If a drawing is not being converted this is typically the issue. Try and send the Conversion log, you find from the admin interface Api Conversion Log, or directly in the folder /nextcloud/apps/cadviewer/converter/php/call-Api_conversion_log.txt, the datestamp and content will list if the scripts is executed and the result. Also, if you open the browser developer console, Ctrl+Shift+I and send that trace as .txt, then we can see what the front-end sends to the backend. |
Hello @CADViewer
|
I take two blocks from /opt/nextcloud/apps/cadviewer/converter/nextcloud_AIO_sample.htaccess
Should I have done it? Or these two should be enough ?
|
@emoxam , so the converter is never executed, I noticed something above in RewriteCond settings , are you on ARM architecture? RewriteCond %{REQUEST_FILENAME} !/richdocumentscode(_arm64)?/proxy.php$ Our back-end converter is x86 , so it will not run on an ARM processor. Please let me know. |
@CADViewer No, i'm on x86. |
@CADViewer Did you read my messages ? |
@emoxam , can you please open the browser developer console, Ctrl+Shift+I, capture the trace where you try to open a drawing, and send that trace as .txt, This will alow to see what the front-end sends to the back-end. You can also send a screenshot of your screen with CADViewer. |
@CADViewer F12 - console - save as TXT ? Do I have to do this? |
@emoxam , in the console trace, you can see which instructions CADViewer passes on to the server, there will be calls to the php endpoints to do various things, if you isolate those calls, or check the responses, you can see if the rewrite rule is in place, and you can see if there is any server action on the back-end converter, etc. To see the console .txt with traffic will give us some error messages to work with |
@emoxam , I am not seeing anything in your trace. If you see this image, you will see that there in the console are statements containing CADViewer calls to the server. |
Can you share default .htaccess with me ? |
@CADViewer as a txt file please |
Snap install .htaccess instance:
|
what is it ? After i installing CADViewer via the nextcloud there is a .htaccess on a few pages! Where is can get it without reinstalling CADViewer ? |
CADViewer does not change your .htaccess file on installation, .htaccess is a control file there is at the top level of a folder, typically it controls settings for an application at that folder, in your case /opt/nextcloud/.htaccess . Check, your rewrite rules in that folder. Basically if there is not a rewrite rule for the location of the CADViewer php scripts, then the front-end CADViewer will not be able to build the menus in cadviewer, nor will it be able to make conversions. |
You are right, don't you have default nextcloud .htaccess ? i deleted mine... |
@CADViewer Ok. I am using this one now https://github.com/nextcloud/server/blob/master/.htaccess
i do i refresh my nextcloud page
and restarted my apache call-Api_Conversion_log (2).txt |
so the log from nextcloud.integris.ru still does not contain any listing from cadviewer, so it's like you are not selecting any dwg files in the file manager, also the call-Api_Conversion_log.txt is an old trace, so you are not firing off any conversions. (which is clear because you have nothing in the nextcloud.integris.ru trace) |
@CADViewer Is it because of vesrions? Or it's because i am using nginx reverse proxy ? |
Hello!
i am using nextcloud 24.0.0
I've installed cadviewer 9.17.2 via the apps section.
Uploaded the dwg file but i cannot find how to view it. I can only download it from my nextcloud.
Can you help me ?
Thanks
The text was updated successfully, but these errors were encountered: