FreeBSD Installation Procedure

381 views
Skip to first unread message

erez.z...@globalgen.net

unread,
Mar 14, 2016, 12:48:05 AM3/14/16
to Orthanc Users
Hi All,

Is there an installation procedure or at least some guidelines for FreeBSD. Trying to install on 9.3 and getting:

orthanc-0.9.4 supported only on 10.x by upstream, not all unit tests
are passed.
*** [install] Error code 1

Thanks.

Sébastien Jodogne

unread,
Mar 14, 2016, 4:51:21 AM3/14/16
to Orthanc Users, erez.z...@globalgen.net
Hello,

A discussion is currently ongoing about upgrading the FreeBSD package to version 1.0.0, please ask your question there:

Regards,
Sébastien-

erez.z...@globalgen.net

unread,
May 22, 2016, 11:22:11 PM5/22/16
to Orthanc Users, erez.z...@globalgen.net
On Monday, March 14, 2016 at 6:51:21 PM UTC+10, Sébastien Jodogne wrote:
> Hello,
>
>
> A discussion is currently ongoing about upgrading the FreeBSD package to version 1.0.0, please ask your question there:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207450
>
>
>
> Regards,
> Sébastien-
>
Installed from ports but getting below error... any ideas?
root@zfsimg:/ # Orthanc ./Configuration.json
W0523 12:47:42.222791 main.cpp:1129] Orthanc version: 1.0.0
W0523 12:47:42.225472 OrthancInitialization.cpp:128] Reading the configuration from: "./Configuration.json"
W0523 12:47:42.226002 HttpClient.cpp:386] No certificates are provided to validate peers, set "HttpsCACertificates" if you need to do HTTPS requests
W0523 12:47:42.226874 FromDcmtkBridge.cpp:148] Loading the external DICOM dictionary "/usr/local/share/dcmtk/dicom.dic"
W0523 12:47:42.239546 FromDcmtkBridge.cpp:148] Loading the external DICOM dictionary "/usr/local/share/dcmtk/private.dic"
W0523 12:47:42.249786 OrthancInitialization.cpp:420] Registering JPEG Lossless codecs
W0523 12:47:42.249819 OrthancInitialization.cpp:425] Registering JPEG codecs
W0523 12:47:42.263871 main.cpp:618] Loading plugin(s) from: ./%%PREFIX%%/share/orthanc/plugins/
E0523 12:47:42.263893 PluginsManager.cpp:237] Inexistent path to plugins: ./%%PREFIX%%/share/orthanc/plugins/
W0523 12:47:42.263906 OrthancInitialization.cpp:910] SQLite index directory: "/var/db/orthanc/db-v5"
W0523 12:47:42.264188 OrthancInitialization.cpp:980] Storage directory: "/var/db/orthanc/db-v5"
E0523 12:47:42.264331 StatementReference.cpp:85] SQLite: database is locked
E0523 12:47:42.264461 main.cpp:1169] Uncaught exception, stopping now: [SQLite: Cannot prepare a cached statement] (code 1012)
W0523 12:47:42.264785 main.cpp:1202] Orthanc has stopped

Sébastien Jodogne

unread,
May 23, 2016, 12:25:31 AM5/23/16
to Orthanc Users, erez.z...@globalgen.net
Hello,

You should ask to the maintainers of the FreeBSD package.

According to your log, this error most probably means that you are trying to manually start Orthanc while it is already running in the background as a service that is automatically started at boot time.

Try to connect to http://localhost:8042/ with your Web browser to check whether Orthanc is started.

HTH,
Sébastien-

erez.z...@globalgen.net

unread,
May 23, 2016, 5:25:35 AM5/23/16
to Orthanc Users, erez.z...@globalgen.net
Thanks Sebastien,
You are absolutely correct. sorted that part and noe have Orthanc running however can not log in? tried both alice and admin. this is the ./configuration.json. Is there another location for this file or a command to force Orthanc to reload configuration file?

// The list of the registered users. Because Orthanc uses HTTP
// Basic Authentication, the passwords are stored as plain text.
"RegisteredUsers" : {
"alice" : "alicePassword"
"admin" : "admin"
},

Thanks
Erez

Sébastien Jodogne

unread,
May 23, 2016, 5:37:54 AM5/23/16
to Orthanc Users, erez.z...@globalgen.net
You will have to set "RemoteAccessAllowed" to "true" to allow remote computers to connect to the Web interface of Orthanc.

By default, this option is set to "false" for security reasons.

erez.z...@globalgen.net

unread,
May 23, 2016, 5:57:09 AM5/23/16
to Orthanc Users, erez.z...@globalgen.net
Thanks Sebastien,
Slowly getting through this... i can now login and trying to upload an image. I've set directories as per below and run Orthanc ./Configuration.json --verbose to restart the service however getting and upload failure on the GUI. Is this a FreeBSD folder permission or another setting that is required?

"StorageDirectory" : "/mnt/vimage",
"IndexDirectory" : "/mnt/vimage",

Many thanks in advance..
Erez

Sébastien Jodogne

unread,
May 23, 2016, 5:59:13 AM5/23/16
to Orthanc Users, erez.z...@globalgen.net
Sorry, I cannot help you further with FreeBSD.

Please get in touch with the maintainers of the FreeBSD package.
Reply all
Reply to author
Forward
0 new messages