datasophon icon indicating copy to clipboard operation
datasophon copied to clipboard

[Bug] [Module Name] bin/datasophon-api.sh: 34: source: not found

Open geekyouth opened this issue 1 year ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

root@u112:/opt/datasophon/datasophon-manager-1.2.1# sh bin/datasophon-api.sh start api
Begin start api......
bin/datasophon-api.sh: 34: source: not found
bin/datasophon-api.sh: 51: [[: not found
api running as process 10969. Stop it first.
root@u112:/opt/datasophon/datasophon-manager-1.2.1#


What you expected to happen

success run

How to reproduce

root@u112:/opt/datasophon/datasophon-manager-1.2.1# sh bin/datasophon-api.sh start api
Begin start api......
bin/datasophon-api.sh: 34: source: not found
bin/datasophon-api.sh: 51: [[: not found
api running as process 10969. Stop it first.
root@u112:/opt/datasophon/datasophon-manager-1.2.1#


Anything else

No response

Version

v1.1.2

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

geekyouth avatar Jan 17 '24 17:01 geekyouth

The prompt is already very obvious

datasophon avatar Jan 18 '24 13:01 datasophon

The prompt is already very obvious

what ?

tell me why. thanks

geekyouth avatar Jan 18 '24 14:01 geekyouth

image

datasophon avatar Jan 19 '24 14:01 datasophon

it's not friendly, 'Source: not found' interfered with my judgment.

I tried running source /etc/profile in the command, and it's work.

crazy-dadong avatar Aug 29 '24 07:08 crazy-dadong