General help after update please

24 views
Skip to first unread message

Adrian Blakey

unread,
Dec 26, 2015, 5:42:16 PM12/26/15
to UBOS Development
I ran update this am on a pi2. It ran for nearly an hour but seemed to finish without error. The device was originally installed back in Sept.

I need some advice/help.

diff does not seem to be available. How can I get it? I want to merge the .new files pacman seems to have created.

pacman does not seem to find packages. I tried installing -S nfs-utils - no luck

Running the createsite for wordpress for "*" - works. How do I add add more apps.? I tried deleting the site and started again - this time specifying the DNS mapped name of my server - and the list of wordpress packages - I get an error trace and am now in a state where I can not undeploy the site. What is a site? is it just a virtual host?  

Adrian Blakey

unread,
Dec 26, 2015, 7:00:15 PM12/26/15
to UBOS Development
I made a new image form the latest distro.  for a pi2. It boots fine. As instructed I log in as root and wait a bit for it to initialize.

Then:

ubos-admin update
No packages installed or upgraded.
error: could not access cache directory /var/cache/pacman/pkg/

Normal behavior?

Adrian Blakey

unread,
Dec 26, 2015, 7:37:36 PM12/26/15
to UBOS Development
How do I add more apps to a site?


On Saturday, December 26, 2015 at 2:42:16 PM UTC-8, Adrian Blakey wrote:

Johannes Ernst

unread,
Jan 5, 2016, 6:25:48 PM1/5/16
to ubos...@googlegroups.com
On Dec 26, 2015, at 14:42, Adrian Blakey <adrian...@gmail.com> wrote:

I ran update this am on a pi2. It ran for nearly an hour but seemed to finish without error. The device was originally installed back in Sept.

I need some advice/help.

diff does not seem to be available. How can I get it? I want to merge the .new files pacman seems to have created.

Many packages are available but not pre-installed. To get diff:
> pacman -S diffutils
> diff

pacman does not seem to find packages. I tried installing -S nfs-utils - no luck

You are the first to ask about nfs. No problem to add, but please file an issue for it in https://github.com/uboslinux/ubos-buildconfig/issues

You are
Running the createsite for wordpress for "*" - works. How do I add add more apps.? I tried deleting the site and started again - this time specifying the DNS mapped name of my server - and the list of wordpress packages - I get an error trace and am now in a state where I can not undeploy the site. 

Can you send the exact command you performed, and the exact error message.

What is a site? is it just a virtual host?



--
You received this message because you are subscribed to the Google Groups "UBOS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubos-dev+u...@googlegroups.com.
To post to this group, send email to ubos...@googlegroups.com.
Visit this group at https://groups.google.com/group/ubos-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ubos-dev/e320c03e-f920-40e4-8931-f717ee97bde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Johannes Ernst

unread,
Jan 5, 2016, 6:27:31 PM1/5/16
to ubos...@googlegroups.com
On Dec 26, 2015, at 16:00, Adrian Blakey <adrian...@gmail.com> wrote:

I made a new image form the latest distro.  for a pi2. It boots fine. As instructed I log in as root and wait a bit for it to initialize.

Then:

ubos-admin update
No packages installed or upgraded.
error: could not access cache directory /var/cache/pacman/pkg/

Normal behavior?

Yes. If you have a recent image, there are no upgrades (yet).



On Saturday, December 26, 2015 at 2:42:16 PM UTC-8, Adrian Blakey wrote:
I ran update this am on a pi2. It ran for nearly an hour but seemed to finish without error. The device was originally installed back in Sept.

I need some advice/help.

diff does not seem to be available. How can I get it? I want to merge the .new files pacman seems to have created.

pacman does not seem to find packages. I tried installing -S nfs-utils - no luck

Running the createsite for wordpress for "*" - works. How do I add add more apps.? I tried deleting the site and started again - this time specifying the DNS mapped name of my server - and the list of wordpress packages - I get an error trace and am now in a state where I can not undeploy the site. What is a site? is it just a virtual host?  

-- 
You received this message because you are subscribed to the Google Groups "UBOS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubos-dev+u...@googlegroups.com.
To post to this group, send email to ubos...@googlegroups.com.
Visit this group at https://groups.google.com/group/ubos-dev.

Johannes Ernst

unread,
Jan 5, 2016, 6:34:05 PM1/5/16
to ubos...@googlegroups.com
On Dec 26, 2015, at 16:37, Adrian Blakey <adrian...@gmail.com> wrote:

How do I add more apps to a site?

There is currently no command for this, although there should be: https://github.com/uboslinux/ubos-admin/issues/8

Would you like to add it? :-)

It’s actually quite straightforward to do, simply by adding another entry to the Site JSON:

> ubos-admin createsite …
will create a site
> ubos-admin showsite --json -s <siteid>
will dump the site JSON to the terminal
Look for the array of appconfigs. If you created a single site on this device with createsite, at this time it only has one. Write the JSON to a file (e.g. newsite.json) and add another entry into that array. Then:
> ubos-admin deploy -f newsite.json
will deploy the new site configuration with as many apps as you like.

Note that ‘ubos-admin createsite’ is only a very trivial wrapper around creating a site JSON file, and executing
> ubos-admin deploy …

--
You received this message because you are subscribed to the Google Groups "UBOS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubos-dev+u...@googlegroups.com.
To post to this group, send email to ubos...@googlegroups.com.
Visit this group at https://groups.google.com/group/ubos-dev.
Reply all
Reply to author
Forward
0 new messages