CADViewer / NextCloud

CAD viewing, markup and collaboration on NextCloud for AutoCAD, MicroStation and advanced raster graphics.
GNU Affero General Public License v3.0
23 stars 3 forks source link

Can't open file in NC 27. #69

Closed nightdread closed 1 year ago

nightdread commented 1 year ago

I installed the program following the instructions from GitHub, but when I open the file, a "loading" window appears and then just a blank screen.

Two errors appear in the Nextcloud log image

I am using Nginx as a web server and php version 8.2.

Please help me to solve the problem with opening files.

image

CADViewer commented 1 year ago

Hello @nightdread , the E126 is typically when the back-end CAD converter AX2023 does not have the appropriate permissions. Can you please share the trace from the "API Conversion Log" in the Admin Interface? https://cadviewer.com/cadviewerusermanual/referenceapplications/nextcloud/admin/#api-conversion-log, and please also follow the instructions for: https://github.com/CADViewer/NextCloud/blob/main/README.md , permission part. thanks!

nightdread commented 1 year ago

@CADViewer I executed the permission.sh script according to the manual.

call-Api_Conversion_log (2).txt

nightdread commented 1 year ago

@CADViewer will you help me with my problem?

CADViewer commented 1 year ago

Hello @nightdread , we did a check when manually upgrading a box from Nextcloud 25 to Nextcloud 27, and after manually copying over the /apps/cadviewer/ tree, what was needed was to do the recursive setting of file ownership: chown -R www-data:www-data cadviewer , so see https://github.com/CADViewer/NextCloud/blob/main/README.md

CADViewer commented 1 year ago

Hello again @nightdread , so the log gives a conversion error, can you from a terminal run the command from the log: /var/www/nextcloud/apps/cadviewer/converter//converters/ax2024/linux//ax2023_L64_23_12_120 -i="/var/www/nextcloud/apps/cadviewer/converter//converters/files/f278842664.dwg" -o="/var/www/nextcloud/apps/cadviewer/converter//converters/files/f278842664.svgz" -f="svgz" -model -extents -fpath="/var/www/nextcloud/apps/cadviewer/converter//converters/ax2024/linux/fonts/" -lpath="/var/www/nextcloud/apps/cadviewer/converter//converters/ax2024/linux/" -xpath="/var/nextcloud/data/__groupfolders/4/" , this will give indications if permissions on folders or executable is correct or not, you can then give 755 to all folders and the exe on the path and check again

nightdread commented 1 year ago

@CADViewer -bash: /var/www/nextcloud/apps/cadviewer/converter/converters/ax2024/linux/ax2023_L64_23_12_120: cannot execute binary file: Exec format error

CADViewer commented 1 year ago

@nightdread , open a terminal, navigate to the location of the executable: /var/www/nextcloud/apps/cadviewer/converter/converters/ax2024/linux , from there run: ./ax2023_L64_23_12_120 -?

CADViewer commented 1 year ago

@nightdread , we just uploaded CADViewer v9.17.2 , so you can remove CADViewer v8.88.5, and then update with 9.17.2 version, it's the same CAD converter ax2023_L64_23_12_120 , so repeat the process above. Let me know the outcome

nightdread commented 1 year ago

@CADViewer could it be because of the arm64 architecture?

CADViewer commented 1 year ago

@nightdread , you are absolutely right, we support x86_64 architecture on the back-end. A stable arm64 toolkit for CAD is not yet fully released. We are a member of an industry organization that will provide support for this platform.

CADViewer commented 1 year ago

@nightdread , we can talk commercially about this directly, you can reach me on casper.harnung@tailormade.com.

CADViewer commented 1 year ago

arm64 support for back-end CAD converter not yet released.

nightdread commented 1 year ago

@CADViewer how soon can we expect arm64 support?)

CADViewer commented 1 year ago

@nightdread , we have customers outside of Nextcloud who are candidate for the arm64 port, I need however to understand your licensing needs in order to bundle you in with our general candidates on that platform, therefore please do get in touch on regular email. I am casper.harnung@tailormade.com. Thanks!