-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPK installation fails: Update failed. Link folder '' could not be found. #140
Comments
Hi all, S T A R T - o p e n H A B S P K2019-01-17:07:41:06 Set instance variables... |
+1 I have exactly the same issue with my installation (DSM 6.2.1-23824 Update 4). Any workaround or solutions? Thanks a lot |
Checking the code of installer.sh in GitHub (https://github.com/openhab/openhab-syno-spk/blob/master/scripts/installer.sh), something seems to be strange. "Create backup" worked because I see all files moved from original directory to backup directory (${BACKUP_FOLDER}/userdata) It means that variable ${SYNOPKG_PKGDEST} has the right value but for some strange reasons variable ${LINK_FOLDER} is then empty. Probably following instructions leads to an empty output: Extract from lines 501 to 518:
Any idea? |
I had the same issue so I tried an older version an it installed fine. I used 2.3.0.003 |
@martycastilla In the code comparison between 2.3.0.003 and 2.4.0.001 there is no difference in the installer.sh script. |
Is there a workaround? Maybe creating some sacrificial file or directory? |
It failed for me in the same way with these previous versions: 2.4.0.001 -> Update failed. Link folder '' could not be found. |
Interesting. The only thing that I can think of why it worked when I used a lower version is that I made sure the previous installation was completely removed via the Synology package manager. Then removing all residual folders and files via Ssh session. If this is the reason that it worked with my last attempt, then it should have worked 2.4.0.001 had I used it. With that said and the comments from others here, it's not a version issue. I found the information on what to removed from a google search. |
That's right, the previous installation must be completely removed through the Synology Package Manager. An update function is currently not implemented, or does not work yet. |
I was running into the same issue. I picked After creating the folders and reinstalling openHAB I could successfully upgrade. @cniweb Is the statement that the package needs to be removed completely before upgrade still true? What's missing to make the upgrade working? |
Hello
I tried to install latest SPK release of openhab on Synology DSM 6.2.1-23824 Update 1.
Install failed and i get this message below on logs:
Same problem with shared or without shared folder.
Have you any idea of what is wrong on my installation?
Thanks for help.
TMPFS: true
Z-Wave: true
port: 8080
tmp: /volume1/@tmp
share: /var/services/homes
oh: /var/services/homes/openhab
backup: -backup-201812
done
User that exec the Installation
root
Start preupgrade...
Stop server
Remove tmp, cache and runtime dirs
Remove openHAB system files
Create backup
Save symbolic link folders
ERROR:
Update failed. Link folder '' could not be found.
Please try again or contact the github contributors.
The text was updated successfully, but these errors were encountered: