Open wongzhiwei98 opened 1 year ago
@wongzhiwei98 , what the CADViewer Doctor says is that your have not set the chmod permissions for the autoxchange CAD converter executable ax2023L64 23_12_107a to 777 in /cadviewer/converter/converters/ax2023/linux folder, therefore the conversion will not take place. we will probably move the permission settings into a .sh file for easier user management
I am still having trouble opening a DWG file after passed all the permission check mark. Let me know what else I can try.
@wongzhiwei98 , in the admin tool there is a section called "Api Conversion log", either download or open the log, this log shows the result of the conversion of the last drawing you opened, this can be used to see where the CAD conversion has issues. Please share this log with us
Hello everyone, I am also trying to get running the CAD viewer for NextCloud inside a docker, I am getting exactly the same issues. Here are the logs from the "Api Conversion log"
NEW-FILE-CONVERSION-BEGIN v7.1.15 Opening call-Api_Conversion_log.txt for new conversion: before _ isset()x2 first in file $json_data: $json_request(conv): , $temp_var is null:, this must be a post call, also:$jsonp_flag=, isset:1 request={"action":"svg_creation","converter":"AutoXchange AX2020","version":"V1.00","contentType":"file","customConversionEndpointExtension":false,"contentLocation":"%2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg","contentFormat":"DWG","contentUsername":"","contentPassword":"","userLabel":"fromCADViewerJS","contentResponse":"stream","leaveStreamOnServer":0,"parameters":[{"paramName":"f","paramValue":"svg"},{"paramName":"RL","paramValue":"RM_"},{"paramName":"TL","paramValue":"RM_TXT"},{"paramName":"LA","paramValue":""},{"paramName":"last","paramValue":""},{"paramName":"hlall","paramValue":""}]}<end request>$json_data isset, requestconverter:AutoXchange AX2020 AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 AGENT PHP_OS : Linux $contentlocation: %2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg $contentlocation: /var/www/html/data/nextcloud/files/City_map.dwg $max: 6 param f : svg param RL : RM_ param TL : RM_TXT $output_file_extension:svg $param_string: -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall We are setting $server_load: 1 after content location check $server_load: 1 , content-type: (file location X004 contentlocation:/var/www/html/data/nextcloud/files/City_map.dwg X005 In action: contentype file: /var/www/html/data/nextcloud/files/City_map.dwg before download file Before COPY: from /var/www/html/data/nextcloud/files/City_map.dwg to /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg $fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg $fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg AA: before setting $fullPath: $server_load 1 $contenttype file $fullPath: /var/www/html/data/nextcloud/files/City_map.dwg $max_conv: 5 $engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97 new $add_xpath In loop to add xpath after first loop $command_line_parameter_xpath: 0 $command_line: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/" XXXXXXX library path before new env: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/ this is the value we got setting the environment 1 getenv after putenv: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/ before call to exec: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/" before call to exec, engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97 current script owner: www-data AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 AGENT PHP_OS : Linux operating_system_detection(): Linux exec return1 0 exec return1 check 0 unlink1 /var/www/html/data/nextcloud/files/City_map.dwg unlink2 /var/www/html/apps/cadviewer/converter/converters/files/f404016022_ac1024.dwg Q1 contentresponse stream Q2:svg_creation Q4: $general_response{"completedAction":"svg_creation","errorCode":"E0","converter":"AutoXchange AX2020","version":"V1.00","userLabel":"fromCADViewerJS","contentLocation":"/var/www/html/data/nextcloud/files/City_map.dwg","contentResponse":"stream","contentStreamData":"http://localhost:8080/apps/cadviewer/converter/php//getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg"} Q5: 0 1 $json_response"{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}" $json_response = "{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}" $post_request_flag=1 $json_response only LAST BEFORE CALLBACK
Let me know if I can provide you any information or data. Thanks a lot for your contribution
@wongzhiwei98 , in the admin tool there is a section called "Api Conversion log", either download or open the log, this log shows the result of the conversion of the last drawing you opened, this can be used to see where the CAD conversion has issues. Please share this log with us
Below the complete log generated from your apps. Feel free to let me know what more info you need. Thanks for help again.
NEW-FILE-CONVERSION-BEGIN v7.1.15
Opening call-Api_Conversion_log.txt for new conversion:
before _ isset()x2
first in file
$json_data:
$json_request(conv): ,
$temp_var is null:, this must be a post call, also:$jsonp_flag=, isset:1 request={"action":"svg_creation","converter":"AutoXchange AX2020","version":"V1.00","contentType":"file","customConversionEndpointExtension":false,"contentLocation":"%2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg","contentFormat":"DWG","contentUsername":"","contentPassword":"","userLabel":"fromCADViewerJS","contentResponse":"stream","leaveStreamOnServer":0,"parameters":[{"paramName":"f","paramValue":"svg"},{"paramName":"RL","paramValue":"RM_"},{"paramName":"TL","paramValue":"RM_TXT"},{"paramName":"LA","paramValue":""},{"paramName":"last","paramValue":""},{"paramName":"hlall","paramValue":""}]}<end request>$json_data isset, requestconverter:AutoXchange AX2020
AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
AGENT PHP_OS : Linux
$contentlocation: %2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg
$contentlocation: /var/www/html/data/nextcloud/files/City_map.dwg
$max: 6
param f : svg
param RL : RM_
param TL : RM_TXT
$output_file_extension:svg $param_string: -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall
We are setting $server_load: 1
after content location check $server_load: 1 , content-type: (file
location X004 contentlocation:/var/www/html/data/nextcloud/files/City_map.dwg
X005 In action: contentype file: /var/www/html/data/nextcloud/files/City_map.dwg
before download file
Before COPY: from /var/www/html/data/nextcloud/files/City_map.dwg to /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
$fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
$fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
AA: before setting $fullPath: $server_load 1 $contenttype file
$fullPath: /var/www/html/data/nextcloud/files/City_map.dwg
$max_conv: 5
$engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97
new $add_xpath
In loop to add xpath
after first loop $command_line_parameter_xpath: 0
$command_line: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/" XXXXXXX
library path before new env: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/
this is the value we got setting the environment 1
getenv after putenv: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/
before call to exec: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/"
before call to exec, engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97
current script owner: www-data
AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
AGENT PHP_OS : Linux
operating_system_detection(): Linux
exec return1 0
exec return1 check 0
unlink1 /var/www/html/data/nextcloud/files/City_map.dwg
unlink2 /var/www/html/apps/cadviewer/converter/converters/files/f404016022_ac1024.dwg
Q1 contentresponse stream
Q2:svg_creation
Q4: $general_response{"completedAction":"svg_creation","errorCode":"E0","converter":"AutoXchange AX2020","version":"V1.00","userLabel":"fromCADViewerJS","contentLocation":"/var/www/html/data/nextcloud/files/City_map.dwg","contentResponse":"stream","contentStreamData":"http://localhost:8080/apps/cadviewer/converter/php//getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg"}
Q5: 0 1 $json_response"{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}"
$json_response = "{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}"
$post_request_flag=1 $json_response only
LAST BEFORE CALLBACK
@papy-ganjha , @wongzhiwei98 , looking at your Api Conversion logs, it appears that you are not on the latest version of the back-end converter and library itself, you have: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/ax2023_L64_23_10_97 , whereas the repo converter is at: ax2023_L64_23_12_107a . Can you please pull 8.34.1 and update your installation as step 1). Then in a second step 2) , open the browser console, Shift+Ctrl+I , and send the trace from the browser console as well as the Api Conversion log. Thanks!
NEW-FILE-CONVERSION-BEGIN v7.1.15
Opening call-Api_Conversion_log.txt for new conversion:
before _ isset()x2
first in file
$json_data:
$json_request(conv): ,
$temp_var is null:, this must be a post call, also:$jsonp_flag=, isset:1 request={"action":"svg_creation","converter":"AutoXchange AX2020","version":"V1.00","contentType":"file","customConversionEndpointExtension":false,"contentLocation":"%2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg","contentFormat":"DWG","contentUsername":"","contentPassword":"","userLabel":"fromCADViewerJS","contentResponse":"stream","leaveStreamOnServer":0,"parameters":[{"paramName":"f","paramValue":"svg"},{"paramName":"RL","paramValue":"RM_"},{"paramName":"TL","paramValue":"RM_TXT"},{"paramName":"LA","paramValue":""},{"paramName":"last","paramValue":""},{"paramName":"hlall","paramValue":""}]}<end request>$json_data isset, requestconverter:AutoXchange AX2020
AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
AGENT PHP_OS : Linux
$contentlocation: %2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg
$contentlocation: /var/www/html/data/nextcloud/files/City_map.dwg
$max: 6
param f : svg
param RL : RM_
param TL : RM_TXT
$output_file_extension:svg $param_string: -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall
We are setting $server_load: 1
after content location check $server_load: 1 , content-type: (file
location X004 contentlocation:/var/www/html/data/nextcloud/files/City_map.dwg
X005 In action: contentype file: /var/www/html/data/nextcloud/files/City_map.dwg
before download file
Before COPY: from /var/www/html/data/nextcloud/files/City_map.dwg to /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
$fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
$fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
AA: before setting $fullPath: $server_load 1 $contenttype file
$fullPath: /var/www/html/data/nextcloud/files/City_map.dwg
$max_conv: 5
$engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97
new $add_xpath
In loop to add xpath
after first loop $command_line_parameter_xpath: 0
$command_line: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/" XXXXXXX
library path before new env: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/
this is the value we got setting the environment 1
getenv after putenv: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/
before call to exec: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/"
before call to exec, engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97
current script owner: www-data
AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
AGENT PHP_OS : Linux
operating_system_detection(): Linux
exec return1 0
exec return1 check 0
unlink1 /var/www/html/data/nextcloud/files/City_map.dwg
unlink2 /var/www/html/apps/cadviewer/converter/converters/files/f404016022_ac1024.dwg
Q1 contentresponse stream
Q2:svg_creation
Q4: $general_response{"completedAction":"svg_creation","errorCode":"E0","converter":"AutoXchange AX2020","version":"V1.00","userLabel":"fromCADViewerJS","contentLocation":"/var/www/html/data/nextcloud/files/City_map.dwg","contentResponse":"stream","contentStreamData":"http://localhost:8080/apps/cadviewer/converter/php//getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg"}
Q5: 0 1 $json_response"{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}"
$json_response = "{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}"
$post_request_flag=1 $json_response only
LAST BEFORE CALLBACK
I also notice your log is not detecting the latest version. Feel free to ask for more info.
@wongzhiwei98 , the trace from the browser indicates that a source file may have been changed on your end. Can you please download v8.36.3 and run a test with that, contains debugging information. If you can 1) capture the trace in the browser console as .txt. 2) in /var/www/html/apps/cadviewer/converter/php , locate the file call-Api_Conversion_log.txt , this is the actual file that is echoed into the admin console. let us know the content of that file. 3) check the content of /var/www/html/apps/cadviewer/converter/files/ 4) check the content of /var/www/html/apps/cadviewer/converter/php/CADViewer_config. php. let us know Thanks!
@CADViewer
I have the same errors as before for @wongzhiwei98 , I followed your instructions and here are the console log of my webbrowser and the log file call-API_Conversion_log.txt
with the version v8.36.3.
Here is the log file:
NEW-FILE-CONVERSION-BEGIN v7.1.15
Opening call-Api_Conversion_log.txt for new conversion:
before _ isset()x2
first in file
$json_data:
$json_request(conv): ,
$temp_var is null:, this must be a post call, also:$jsonp_flag=, isset:1 request={"action":"svg_creation","converter":"AutoXchange AX2020","version":"V1.00","contentType":"file","customConversionEndpointExtension":false,"contentLocation":"%2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg","contentFormat":"DWG","contentUsername":"","contentPassword":"","userLabel":"fromCADViewerJS","contentResponse":"stream","leaveStreamOnServer":0,"parameters":[{"paramName":"f","paramValue":"svg"},{"paramName":"RL","paramValue":"RM_"},{"paramName":"TL","paramValue":"RM_TXT"},{"paramName":"LA","paramValue":""},{"paramName":"last","paramValue":""},{"paramName":"hlall","paramValue":""}]}<end request>$json_data isset, requestconverter:AutoXchange AX2020
AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
AGENT PHP_OS : Linux
$contentlocation: %2Fvar%2Fwww%2Fhtml%2Fdata%2Fnextcloud%2Ffiles%2FCity_map.dwg
$contentlocation: /var/www/html/data/nextcloud/files/City_map.dwg
$max: 6
param f : svg
param RL : RM_
param TL : RM_TXT
$output_file_extension:svg $param_string: -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall
We are setting $server_load: 1
after content location check $server_load: 1 , content-type: (file
location X004 contentlocation:/var/www/html/data/nextcloud/files/City_map.dwg
X005 In action: contentype file: /var/www/html/data/nextcloud/files/City_map.dwg
before download file
Before COPY: from /var/www/html/data/nextcloud/files/City_map.dwg to /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
$fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
$fullPath: /var/www/html/apps/cadviewer/converter/converters/files/f404016022.dwg
AA: before setting $fullPath: $server_load 1 $contenttype file
$fullPath: /var/www/html/data/nextcloud/files/City_map.dwg
$max_conv: 5
$engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97
new $add_xpath
In loop to add xpath
after first loop $command_line_parameter_xpath: 0
$command_line: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/" XXXXXXX
library path before new env: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/
this is the value we got setting the environment 1
getenv after putenv: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux/
before call to exec: "/var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97" -i="/var/www/html/data/nextcloud/files/City_map.dwg" -o="/var/www/html/apps/cadviewer/converter/converters/files/f404016022.svg" -f="svg" -RL="RM_" -TL="RM_TXT" -LA -last -hlall -lpath="/var/www/html/apps/cadviewer/converter/converters/ax2023/linux/"
before call to exec, engine_path: /var/www/html/apps/cadviewer/converter/converters/ax2023/linux//ax2023_L64_23_10_97
current script owner: www-data
AGENT operating_system_detection(): $agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
AGENT PHP_OS : Linux
operating_system_detection(): Linux
exec return1 0
exec return1 check 0
unlink1 /var/www/html/data/nextcloud/files/City_map.dwg
unlink2 /var/www/html/apps/cadviewer/converter/converters/files/f404016022_ac1024.dwg
Q1 contentresponse stream
Q2:svg_creation
Q4: $general_response{"completedAction":"svg_creation","errorCode":"E0","converter":"AutoXchange AX2020","version":"V1.00","userLabel":"fromCADViewerJS","contentLocation":"/var/www/html/data/nextcloud/files/City_map.dwg","contentResponse":"stream","contentStreamData":"http://localhost:8080/apps/cadviewer/converter/php//getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg"}
Q5: 0 1 $json_response"{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}"
$json_response = "{\"completedAction\":\"svg_creation\",\"errorCode\":\"E0\",\"converter\":\"AutoXchange AX2020\",\"version\":\"V1.00\",\"userLabel\":\"fromCADViewerJS\",\"contentLocation\":\"\/var\/www\/html\/data\/nextcloud\/files\/City_map.dwg\",\"contentResponse\":\"stream\",\"contentStreamData\":\"http:\/\/localhost:8080\/apps\/cadviewer\/converter\/php\/\/getFile_09.php?remainOnServer=0&fileTag=f404016022&Type=svg\"}"
$post_request_flag=1 $json_response only
LAST BEFORE CALLBACK
And here is the full console trace from the first click on the DWG file:
VM1151:1 Console was cleared
undefined
CADViewerCanvas.vue:892 {content_dir: '/var/www/html/data/kenz/files/Documents'}
CADViewerCanvas.vue:450 mounted
CADViewerCanvas.vue:475 ServerBackEndUrl, ServerLocation, ServerUrl, FileName declared
cadviewer_8.36.3.min.js:2 cvjs_setCADViewerInterfaceVersion - version:CADViewer - v8.36.3
cadviewer_8.36.3.min.js:2 cvjs_loadCADViewerLanguage -version:CADViewer - v8.36.3
cadviewer_8.36.3.min.js:2 cvjs_setTopMenuXML -version:CADViewer - v8.36.3
cadviewer_8.36.3.min.js:2 cvjs_InitCADViewer_highLight_popUp_app -version:CADViewer - v8.36.3
cadviewer_8.36.3.min.js:2 Languages: 9
cadviewer_8.36.3.min.js:2 LOAD EXERNAL MENU:
cadviewer_8.36.3.min.js:2 phpIcon Menu: <!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="fr" data-locale="fr" >
<head data-user="kenz" data-user-displayname="kenz" data-requesttoken="2wemeP4pv8lQBt0sRDCjp1Tot8CNo4YzgEvYwkTxK+c=:qWvkLrtA+6c/Qb59NELmxiOjgPnr6McCxiS8qy2CRrY=">
<meta charset="utf-8">
<title>
Tableau de bord - Nextcloud </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-itunes-app" content="app-id=1125420102">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Tableau de bord">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#396475">
<link rel="icon" href="/apps/theming/favicon/dashboard?v=38173c63">
<link rel="apple-touch-icon" href="/apps/theming/icon/dashboard?v=38173c63">
<link rel="apple-touch-icon-precomposed" href="/apps/theming/icon/dashboard?v=38173c63">
<link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#396475">
<link rel="manifest" href="/apps/theming/manifest/dashboard?v=38173c63">
<link rel="stylesheet" href="/core/css/server.css?v=2c97bd42-0">
<link rel="stylesheet" href="/custom_apps/breezedark/css/server.css?v=ad632749-0">
<link rel="stylesheet" href="/custom_apps/breezedark/css/guest.css?v=ad632749-0">
<link rel="stylesheet" href="/apps/dashboard/css/dashboard.css?v=35fda08f-0">
<link rel="stylesheet" href="/apps/activity/css/style.css?v=1152f727-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/At.css?v=0330b4fd-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/icons.css?v=0330b4fd-0">
<link rel="stylesheet" href="/custom_apps/calendar/css/dashboard.css?v=79ef4534-0">
<link rel="stylesheet" href="/apps/files_rightclick/css/app.css?v=1bf6e69c-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/unified-search.css?v=0330b4fd-0">
<link rel="stylesheet" href="/apps/user_status/css/user-status-menu.css?v=35c36e89-0">
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/core-common.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/core-main.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/core/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/core-files_fileinfo.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/core-files_client.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/js/core/merged-template-prepend.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/core-unified-search.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/custom_apps/breezedark/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/custom_apps/breezedark/js/breezedark.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/apps/files/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/files-sidebar.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/apps/files/js/fileinfomodel.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/apps/files_sharing/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=" defer src="/dist/files_sharing-main.js?v=2c97bd42-0"></script>
<script nonce="MndlbWVQNHB2OGxRQnQwc1JEQ2pwMVRvdDhDTm80WXpnRXZZd2tUeEsrYz06cVd2a0xydEErNmMvUWI1OU5FTG14aU9qZ1BucjZNY0N4aVM4cXkyQ1JyWT0=
cadviewer_8.36.3.min.js:2 errinputTypeError: Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of type 'Node'.
cadviewer_8.36.3.min.js:2 NOTE: cvjs_regenerateTopIconMenuXML: Load XML menu error: TypeError: Cannot read properties of null (reading 'cvjs') LOADING STANDARD top menu instead!
cadviewer_8.36.3.min.js:2 Installation using class name is DEPRECATED. Use data-jscolor="" attribute instead. See https://jscolor.com/docs/
installBySelector @ cadviewer_8.36.3.min.js:2
a.pub.install @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
Xu @ cadviewer_8.36.3.min.js:2
Ku @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
eh @ cadviewer_8.36.3.min.js:2
initCadviewer @ CADViewerCanvas.vue:630
(anonymous) @ CADViewerCanvas.vue:908
d @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
S @ CADViewerCanvas.vue:40
r @ CADViewerCanvas.vue:53
(anonymous) @ CADViewerCanvas.vue:100
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:916
l @ jquery.js:3500
fireWith @ jquery.js:3630
E @ jquery.js:9796
(anonymous) @ jquery.js:10057
load (async)
send @ jquery.js:10076
ajax @ jquery.js:9690
(anonymous) @ jquery-migrate.min.js:2
t.<computed> @ jquery-migrate.min.js:2
viewCadFileActionHandler @ CADViewerCanvas.vue:884
action @ merged-index.js?v=2c97bd42-0:3067
_onClickFile @ merged-index.js?v=2c97bd42-0:5040
bt @ _executeBound.js:8
(anonymous) @ bind.js:10
(anonymous) @ restArguments.js:16
dispatch @ jquery.js:5430
m.handle @ jquery.js:5234
cadviewer_8.36.3.min.js:2 Error: Could not evaluate jscolor options: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'nonce-TXVJb3FCOFRUNXZObldVbUkrWDFLTUhzNEYzdUs4ZUx6L2ZQVFJGRXdsWT06UUk1cS9scDZDL1dpMmdaM1U1ZXdTYmFuMTJTSVlJYTZpWmlySkhnM3J3Yz0=' blob:".
{width:101, padding:10, height:60, shadow:false, borderWidth:0, backgroundColor:'transparent', insetColor:'#000',closable:true, closeText:'Close Color Picker!' }
installBySelector @ cadviewer_8.36.3.min.js:2
a.pub.install @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
Xu @ cadviewer_8.36.3.min.js:2
Ku @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
eh @ cadviewer_8.36.3.min.js:2
initCadviewer @ CADViewerCanvas.vue:630
(anonymous) @ CADViewerCanvas.vue:908
d @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
S @ CADViewerCanvas.vue:40
r @ CADViewerCanvas.vue:53
(anonymous) @ CADViewerCanvas.vue:100
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:916
l @ jquery.js:3500
fireWith @ jquery.js:3630
E @ jquery.js:9796
(anonymous) @ jquery.js:10057
load (async)
send @ jquery.js:10076
ajax @ jquery.js:9690
(anonymous) @ jquery-migrate.min.js:2
t.<computed> @ jquery-migrate.min.js:2
viewCadFileActionHandler @ CADViewerCanvas.vue:884
action @ merged-index.js?v=2c97bd42-0:3067
_onClickFile @ merged-index.js?v=2c97bd42-0:5040
bt @ _executeBound.js:8
(anonymous) @ bind.js:10
(anonymous) @ restArguments.js:16
dispatch @ jquery.js:5430
m.handle @ jquery.js:5234
cadviewer_8.36.3.min.js:2 Installation using class name is DEPRECATED. Use data-jscolor="" attribute instead. See https://jscolor.com/docs/
installBySelector @ cadviewer_8.36.3.min.js:2
a.pub.install @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
Xu @ cadviewer_8.36.3.min.js:2
Ku @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
eh @ cadviewer_8.36.3.min.js:2
initCadviewer @ CADViewerCanvas.vue:630
(anonymous) @ CADViewerCanvas.vue:908
d @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
S @ CADViewerCanvas.vue:40
r @ CADViewerCanvas.vue:53
(anonymous) @ CADViewerCanvas.vue:100
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:916
l @ jquery.js:3500
fireWith @ jquery.js:3630
E @ jquery.js:9796
(anonymous) @ jquery.js:10057
load (async)
send @ jquery.js:10076
ajax @ jquery.js:9690
(anonymous) @ jquery-migrate.min.js:2
t.<computed> @ jquery-migrate.min.js:2
viewCadFileActionHandler @ CADViewerCanvas.vue:884
action @ merged-index.js?v=2c97bd42-0:3067
_onClickFile @ merged-index.js?v=2c97bd42-0:5040
bt @ _executeBound.js:8
(anonymous) @ bind.js:10
(anonymous) @ restArguments.js:16
dispatch @ jquery.js:5430
m.handle @ jquery.js:5234
cadviewer_8.36.3.min.js:2 Error: Could not evaluate jscolor options: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'nonce-TXVJb3FCOFRUNXZObldVbUkrWDFLTUhzNEYzdUs4ZUx6L2ZQVFJGRXdsWT06UUk1cS9scDZDL1dpMmdaM1U1ZXdTYmFuMTJTSVlJYTZpWmlySkhnM3J3Yz0=' blob:".
{width: 110, padding:10, height: 60, shadow:false, borderWidth:0, backgroundColor:'transparent', insetColor:'#000',closable:true, closeText:'Close Color Picker!'}
installBySelector @ cadviewer_8.36.3.min.js:2
a.pub.install @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
Xu @ cadviewer_8.36.3.min.js:2
Ku @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
eh @ cadviewer_8.36.3.min.js:2
initCadviewer @ CADViewerCanvas.vue:630
(anonymous) @ CADViewerCanvas.vue:908
d @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
S @ CADViewerCanvas.vue:40
r @ CADViewerCanvas.vue:53
(anonymous) @ CADViewerCanvas.vue:100
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:916
l @ jquery.js:3500
fireWith @ jquery.js:3630
E @ jquery.js:9796
(anonymous) @ jquery.js:10057
load (async)
send @ jquery.js:10076
ajax @ jquery.js:9690
(anonymous) @ jquery-migrate.min.js:2
t.<computed> @ jquery-migrate.min.js:2
viewCadFileActionHandler @ CADViewerCanvas.vue:884
action @ merged-index.js?v=2c97bd42-0:3067
_onClickFile @ merged-index.js?v=2c97bd42-0:5040
bt @ _executeBound.js:8
(anonymous) @ bind.js:10
(anonymous) @ restArguments.js:16
dispatch @ jquery.js:5430
m.handle @ jquery.js:5234
cadviewer_8.36.3.min.js:2 cvjs_setLicenseKeyDirect - version:CADViewer - v8.36.3
CADViewerCanvas.vue:724 ISOtimeStamp=2021-12-13T00:55:54+0000
cadviewer_8.36.3.min.js:2 CADViewer - v8.36.3 (php,vuejs) Loading: PANGALOS - toits.dwg
cadviewer_8.36.3.min.js:2 Init load: conversion parameter: f svg
cadviewer_8.36.3.min.js:2 CADViewer - v8.36.3 , php, url:https://domain-name.com/apps/cadviewer/converter/php/call-Api_Conversion.php request: {"action":"svg_creation","converter":"AutoXchange AX2020","version":"V1.00","contentType":"file","customConversionEndpointExtension":false,"fileStamp":"2021-12-13T00:55:54+0000","contentLocation":"%2Fvar%2Fwww%2Fhtml%2Fdata%2Fkenz%2Ffiles%2FDocuments%2FPANGALOS%20-%20toits.dwg","contentFormat":"DWG","contentUsername":"","contentPassword":"","userLabel":"fromCADViewerJS","contentResponse":"stream","leaveStreamOnServer":0,"parameters":[{"paramName":"f","paramValue":"svg"},{"paramName":"strokea","paramValue":""},{"paramName":"last","paramValue":""}]}
CADViewerCanvas.vue:732 RESIZE - cvjs_resizeWindow_position
cadviewer_8.36.3.min.js:2 php Conversion success parseServerResponse: <!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="fr" data-locale="fr" >
<head data-user="kenz" data-user-displayname="kenz" data-requesttoken="n4SZPgA7ZcN3X+bfyzkOr+IqlMujZAkspnqOlEWzdaQ=:7ejbaEVSIa0YGIWOu0tLzpVho/LFL0gd4BXq/SzAGPU=">
<meta charset="utf-8">
<title>
Tableau de bord - Nextcloud </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-itunes-app" content="app-id=1125420102">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Tableau de bord">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#396475">
<link rel="icon" href="/apps/theming/favicon/dashboard?v=38173c63">
<link rel="apple-touch-icon" href="/apps/theming/icon/dashboard?v=38173c63">
<link rel="apple-touch-icon-precomposed" href="/apps/theming/icon/dashboard?v=38173c63">
<link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#396475">
<link rel="manifest" href="/apps/theming/manifest/dashboard?v=38173c63">
<link rel="stylesheet" href="/core/css/server.css?v=2c97bd42-0">
<link rel="stylesheet" href="/custom_apps/breezedark/css/server.css?v=ad632749-0">
<link rel="stylesheet" href="/custom_apps/breezedark/css/guest.css?v=ad632749-0">
<link rel="stylesheet" href="/apps/dashboard/css/dashboard.css?v=35fda08f-0">
<link rel="stylesheet" href="/apps/activity/css/style.css?v=1152f727-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/At.css?v=0330b4fd-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/icons.css?v=0330b4fd-0">
<link rel="stylesheet" href="/custom_apps/calendar/css/dashboard.css?v=79ef4534-0">
<link rel="stylesheet" href="/apps/files_rightclick/css/app.css?v=1bf6e69c-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/unified-search.css?v=0330b4fd-0">
<link rel="stylesheet" href="/apps/user_status/css/user-status-menu.css?v=35c36e89-0">
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-common.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-main.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/core/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-files_fileinfo.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-files_client.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/js/core/merged-template-prepend.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-unified-search.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/custom_apps/breezedark/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/custom_apps/breezedark/js/breezedark.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/apps/files/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/files-sidebar.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/apps/files/js/fileinfomodel.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/apps/files_sharing/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/files_sharing-main.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cF
cadviewer_8.36.3.min.js:2 Server Side Conversion Error -full Server Side return string:<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="fr" data-locale="fr" >
<head data-user="kenz" data-user-displayname="kenz" data-requesttoken="n4SZPgA7ZcN3X+bfyzkOr+IqlMujZAkspnqOlEWzdaQ=:7ejbaEVSIa0YGIWOu0tLzpVho/LFL0gd4BXq/SzAGPU=">
<meta charset="utf-8">
<title>
Tableau de bord - Nextcloud </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-itunes-app" content="app-id=1125420102">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Tableau de bord">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#396475">
<link rel="icon" href="/apps/theming/favicon/dashboard?v=38173c63">
<link rel="apple-touch-icon" href="/apps/theming/icon/dashboard?v=38173c63">
<link rel="apple-touch-icon-precomposed" href="/apps/theming/icon/dashboard?v=38173c63">
<link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#396475">
<link rel="manifest" href="/apps/theming/manifest/dashboard?v=38173c63">
<link rel="stylesheet" href="/core/css/server.css?v=2c97bd42-0">
<link rel="stylesheet" href="/custom_apps/breezedark/css/server.css?v=ad632749-0">
<link rel="stylesheet" href="/custom_apps/breezedark/css/guest.css?v=ad632749-0">
<link rel="stylesheet" href="/apps/dashboard/css/dashboard.css?v=35fda08f-0">
<link rel="stylesheet" href="/apps/activity/css/style.css?v=1152f727-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/At.css?v=0330b4fd-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/icons.css?v=0330b4fd-0">
<link rel="stylesheet" href="/custom_apps/calendar/css/dashboard.css?v=79ef4534-0">
<link rel="stylesheet" href="/apps/files_rightclick/css/app.css?v=1bf6e69c-0">
<link rel="stylesheet" href="/custom_apps/spreed/css/unified-search.css?v=0330b4fd-0">
<link rel="stylesheet" href="/apps/user_status/css/user-status-menu.css?v=35c36e89-0">
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-common.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-main.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/core/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-files_fileinfo.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-files_client.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/js/core/merged-template-prepend.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/core-unified-search.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/custom_apps/breezedark/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/custom_apps/breezedark/js/breezedark.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/apps/files/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/files-sidebar.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/apps/files/js/fileinfomodel.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/apps/files_sharing/l10n/fr.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJYTBZR0lXT3UwdEx6cFZoby9MRkwwZ2Q0QlhxL1N6QUdQVT0=" defer src="/dist/files_sharing-main.js?v=2c97bd42-0"></script>
<script nonce="bjRTWlBnQTdaY04zWCtiZnl6a09yK0lxbE11alpBa3NwbnFPbEVXemRhUT06N2VqYmFFVlNJY
cadviewer_8.36.3.min.js:2 CADViewer - v8.36.3 (php,vuejs) Loading:
cadviewer_8.36.3.min.js:2 before remove 0
cadviewer_8.36.3.min.js:2 REMOVED removed SVGloadFlagfalse cvjs_SVGloadedFragmentfalse
cadviewer_8.36.3.min.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
at Vh (cadviewer_8.36.3.min.js:2:1590067)
at Fh (cadviewer_8.36.3.min.js:2:1584373)
at rg (cadviewer_8.36.3.min.js:2:1607024)
at Object.success (cadviewer_8.36.3.min.js:2:1605264)
at l (cadviewer_8.36.3.min.js:2:690435)
at Object.fireWith [as resolveWith] (cadviewer_8.36.3.min.js:2:691183)
at C (cadviewer_8.36.3.min.js:2:742130)
at XMLHttpRequest.<anonymous> (cadviewer_8.36.3.min.js:2:744598)
Vh @ cadviewer_8.36.3.min.js:2
Fh @ cadviewer_8.36.3.min.js:2
rg @ cadviewer_8.36.3.min.js:2
success @ cadviewer_8.36.3.min.js:2
l @ cadviewer_8.36.3.min.js:2
fireWith @ cadviewer_8.36.3.min.js:2
C @ cadviewer_8.36.3.min.js:2
(anonymous) @ cadviewer_8.36.3.min.js:2
load (async)
send @ cadviewer_8.36.3.min.js:2
ajax @ cadviewer_8.36.3.min.js:2
Qf @ cadviewer_8.36.3.min.js:2
JH @ cadviewer_8.36.3.min.js:2
QH @ cadviewer_8.36.3.min.js:2
Jf @ cadviewer_8.36.3.min.js:2
Vh @ cadviewer_8.36.3.min.js:2
Fh @ cadviewer_8.36.3.min.js:2
initCadviewer @ CADViewerCanvas.vue:729
(anonymous) @ CADViewerCanvas.vue:908
d @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:40
S @ CADViewerCanvas.vue:40
r @ CADViewerCanvas.vue:53
(anonymous) @ CADViewerCanvas.vue:100
(anonymous) @ CADViewerCanvas.vue:40
(anonymous) @ CADViewerCanvas.vue:916
l @ jquery.js:3500
fireWith @ jquery.js:3630
E @ jquery.js:9796
(anonymous) @ jquery.js:10057
Thanks a lot for your help and quick responses :)
@papy-ganjha , the trace shows that the front-end does not connect to the back-end scripts. Thats why you default to the base iconbar, there is no file-load, and you keep getting an (old) log file to display. We will install Unraid here, and check what is going on.
Hello @wongzhiwei98 , @papy-ganjha , can you please check the troubleshoot point 4, in https://github.com/CADViewer/NextCloud/blob/main/README.md . We think most of the connectivity issues have to do with the settings of the redirection to scripts in the .htaccess file.
Hello @wongzhiwei98 , @papy-ganjha , can you please check the troubleshoot point 4, in https://github.com/CADViewer/NextCloud/blob/main/README.md . We think most of the connectivity issues have to do with the settings of the redirection to scripts in the .htaccess file.
Hi, I'm also a Unraid user. Been using the recent 2 or 3 versions all failed with same error (screenshots below). Just upgraded to 8.52.4 and still fails.
Hello @wongzhiwei98 , @papy-ganjha , can you please check the troubleshoot point 4, in https://github.com/CADViewer/NextCloud/blob/main/README.md . We think most of the connectivity issues have to do with the settings of the redirection to scripts in the .htaccess file.
Still unable to work on unraid. Feel free to let me know if you need more info.
I follow your instruction on allow permission for those files mentioned but I am unable to open and view any CAD file. Also another issue is that every times the server reboot, the permission get reset to its default state which is not full permission. Let me know if you need any data or info to further develop your application. Thanks for the hardwork and contribution !