photo-upload: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/photo-upload - from package: photo-uploader

You may install the required package with command apt-get install {package}
Error in other languages:
photo-upload: bevel nie gevind nie
photo-upload: comandă negăsită
photo-upload: comando não encontrado
photo-upload: commande introuvable
photo-upload: command not found
photo-upload: käsku ei ole
photo-upload: không tìm thấy lệnh
photo-upload: komanda nerasta
photo-upload: Kommando nicht gefunden.
photo-upload: kommandot finns inte
photo-upload: komut yok
photo-upload: nie znaleziono polecenia
photo-upload: níor aimsíodh an t-ordú
photo-upload: no se encontró la orden
photo-upload: no s'ha trobat l'ordre
photo-upload: opdracht niet gevonden
photo-upload: parancs nem található
photo-upload: perintah tidak ditemukan
photo-upload: príkaz nenájdený
photo-upload: příkaz nenalezen
photo-upload: команда не найдена
photo-upload: командата не е открита
photo-upload: 命令找不到
photo-upload: コマンドが見つかりません